Showing posts with label ide. Show all posts
Showing posts with label ide. Show all posts

Monday, March 26, 2012

Newbie confusion with MS .net IDE

I was hoping someone could help me with some things I'm finding rather confusing. I recently migrated from command-line c# development to using Visual Studio .net.

1) The IDE seems to use HTTP to access the files in my project, but when one attempts to add an existing file to a project it uses standard file io. Thus, one is required to have both types of connectivity to a directory where one is doing work, which from my perspective kind of obviates the whole point of the HTTP requirement in the first place. How can I turn this HTTP functionality off? Any logic I can think of that supports the case for HTTP was dashed in the bit bucket when I came across the standard file io requirement for adding existing files. Any light that one could shed on this issue would be great.

2) When I moved a directory containing a project and its associated files from one web server to another, and then opened up the project, all the .cs files associated with my .aspx (these are all in the same directory as the project) disappeared. Why? This is very confusing and really annoying.

Does anyone have any idea how I can go back to the old IDE that I'm used to, or make the new one behave in the ways that I'm accustomed to?I don't know about your first question, but for the second one... try this...

There is an icon in the 'solution explorer' view in VS.net that will show all files in the project. (I had the same thing happen when moving a project, and this made the hidded code behind files visible. For some reason, VS.net did not want to show all the files by default after the move.)

- Jigster

Friday, March 16, 2012

Newbie needs help!

Hi everyone,

I've got an xp Pro with IIS5.01 on it. I tried to create an ASP webapplication under VB.NET project but the IDE prompted 'VS.NET has detected the specific web server is not runing ASP.NET version 1.1. You will unable to use ASP.NET services or application.'

I do have .NET framwork 1.1, which came with the VS.NET 2003. I setup the VS.NET in another PC which has WIndows Server 2003 and IIS6.0 and it runs smoothly.

So I figure the problem is IIS or I could be wrong. Anyone can tell me how to upgrade IIS5.0 to 6.0 in XP Pro? I tried to do some research at microsoft website but no luck.

Any help will be appreciated.

TKSYou may try to run "aspnet_regiis.exe -i" from your .net framework 1.1 folder.
The .net framework 1.1 folder is most likely here:
C:\Windows\Microsoft.NET\Framework\v1.1.4322

You can goto start, run, type cmd
then change to the above directory & type: aspnet_regiis.exe -i
>Anyone can tell me how to upgrade IIS5.0 to 6.0 in XP Pro?

You can't. IIS 6.0 is an integrated part of Windows Server 2003; it cannot be installed on another OS.