Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. visual studio 2005

visual studio 2005

Scheduled Pinned Locked Moved ASP.NET
csharpxmldatabasevisual-studiocom
8 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xiaowenjie
    wrote on last edited by
    #1

    hi, im doing a web program in visual 2005. therefore, i can run the webpage on anywhere in my com rite coz it provides a server. so i wanna test if it can run in wwwroot. i copy the folder into wwwroot. open my browser n type the address "localhost/myproject/index.aspx. what i got is an error msg saying "Cannot view XML input using XSL style sheet" why is this so. It also shows me this error: "Line Number 1, Column 2:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %> -^"

    S 1 Reply Last reply
    0
    • X xiaowenjie

      hi, im doing a web program in visual 2005. therefore, i can run the webpage on anywhere in my com rite coz it provides a server. so i wanna test if it can run in wwwroot. i copy the folder into wwwroot. open my browser n type the address "localhost/myproject/index.aspx. what i got is an error msg saying "Cannot view XML input using XSL style sheet" why is this so. It also shows me this error: "Line Number 1, Column 2:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %> -^"

      S Offline
      S Offline
      szukuro
      wrote on last edited by
      #2

      The keyword is IIS configuration. Go to Control Panel -> Administrative Tools -> Internet Information Services. Here click on the plus sign next to your computers name, then next to Websites, and finally Default Website. Right click on your dictionary (in your case myproject), properties, and click the create button on the middle left side of the form. After that it should work fine.

      X 2 Replies Last reply
      0
      • S szukuro

        The keyword is IIS configuration. Go to Control Panel -> Administrative Tools -> Internet Information Services. Here click on the plus sign next to your computers name, then next to Websites, and finally Default Website. Right click on your dictionary (in your case myproject), properties, and click the create button on the middle left side of the form. After that it should work fine.

        X Offline
        X Offline
        xiaowenjie
        wrote on last edited by
        #3

        i tried tt. still same error :((

        1 Reply Last reply
        0
        • S szukuro

          The keyword is IIS configuration. Go to Control Panel -> Administrative Tools -> Internet Information Services. Here click on the plus sign next to your computers name, then next to Websites, and finally Default Website. Right click on your dictionary (in your case myproject), properties, and click the create button on the middle left side of the form. After that it should work fine.

          X Offline
          X Offline
          xiaowenjie
          wrote on last edited by
          #4

          i try opening the web site in IIS with vs studio 2005. File->open web site->select local IIS tab->choose file.it it prompt me this msg "the site "http://localhost/webapp" has not been configured for use with asp.net 2.0. ms vs studio has been designed for user with asp.net 2.0. if not configure some features may make incorrect assumption, and pages designed with the tool may not render correctly.. so i click yes to configure now n it gave an error msg "configure web site "http://localhost/webapp" to asp.net 2.0 failed. you may need to manually configure this site for asp.net 2.0 in order for your site to run correctly"

          S 1 Reply Last reply
          0
          • X xiaowenjie

            i try opening the web site in IIS with vs studio 2005. File->open web site->select local IIS tab->choose file.it it prompt me this msg "the site "http://localhost/webapp" has not been configured for use with asp.net 2.0. ms vs studio has been designed for user with asp.net 2.0. if not configure some features may make incorrect assumption, and pages designed with the tool may not render correctly.. so i click yes to configure now n it gave an error msg "configure web site "http://localhost/webapp" to asp.net 2.0 failed. you may need to manually configure this site for asp.net 2.0 in order for your site to run correctly"

            S Offline
            S Offline
            szukuro
            wrote on last edited by
            #5

            Then you should try configuring it manually, same steps then I wrote before (except rereading the post I realized I ment to write directory instead of dictionary, must have been tired...), open the tab ASP.NET (should be the last one), and there pick the correct version, beacuse I'm gusessing you have both 1.1 and 2.0 installed, and by default IIS configures the site for use with 1.1.

            X 1 Reply Last reply
            0
            • S szukuro

              Then you should try configuring it manually, same steps then I wrote before (except rereading the post I realized I ment to write directory instead of dictionary, must have been tired...), open the tab ASP.NET (should be the last one), and there pick the correct version, beacuse I'm gusessing you have both 1.1 and 2.0 installed, and by default IIS configures the site for use with 1.1.

              X Offline
              X Offline
              xiaowenjie
              wrote on last edited by
              #6

              yup have switch to asp.net 2.0..still could not work:^)

              X 1 Reply Last reply
              0
              • X xiaowenjie

                yup have switch to asp.net 2.0..still could not work:^)

                X Offline
                X Offline
                xiaowenjie
                wrote on last edited by
                #7

                i've found the solution. The reason behind it was because I installed IIS after installation of framework. therefore, i uninstall(not repair) framework n reinstall it. Tks anyway guys. ;)

                S 1 Reply Last reply
                0
                • X xiaowenjie

                  i've found the solution. The reason behind it was because I installed IIS after installation of framework. therefore, i uninstall(not repair) framework n reinstall it. Tks anyway guys. ;)

                  S Offline
                  S Offline
                  szukuro
                  wrote on last edited by
                  #8

                  Actually it would have been easier to use aspnet_regiis, but at least it's working now :).

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups