Click here to Skip to main content
16,007,443 members
Home / Discussions / C#
   

C#

 
GeneralRe: trouble with data connections Pin
Miles Roberts25-Aug-04 11:26
Miles Roberts25-Aug-04 11:26 
GeneralRe: trouble with data connections Pin
Nick Parker25-Aug-04 11:39
protectorNick Parker25-Aug-04 11:39 
GeneralRe: trouble with data connections Pin
Miles Roberts25-Aug-04 11:52
Miles Roberts25-Aug-04 11:52 
GeneralRe: trouble with data connections Pin
Nick Parker26-Aug-04 3:38
protectorNick Parker26-Aug-04 3:38 
GeneralRe: trouble with data connections Pin
Miles Roberts26-Aug-04 4:02
Miles Roberts26-Aug-04 4:02 
GeneralRe: trouble with data connections Pin
Nick Parker26-Aug-04 4:21
protectorNick Parker26-Aug-04 4:21 
GeneralRe: trouble with data connections Pin
Miles Roberts26-Aug-04 4:29
Miles Roberts26-Aug-04 4:29 
GeneralRe: trouble with data connections Pin
Heath Stewart25-Aug-04 11:42
protectorHeath Stewart25-Aug-04 11:42 
Just because you see IIS under Administrative Tools doesn't mean it's running. That's only an MMC snap-in to configure IIS. The best way is to open it and see if the site is running (try it out and explore).

The problem you're getting is probably because there's an error in your code. When you're connecting to the ASP.NET web site running in IIS (default behavior) a web application is instantiate (an AppDomain is created for it) and your code is JIT'd and executed. Any errors may return HTTP 500 (or others, depending on the problem).

The first thing you should do is point your web browser at the same URL you're trying to access from VS.NET (I'm assuming you're working with Web Services by the sound of it). That should give you more information.

If not, edit your Web.config file in either the virtual host root directory (resolves to /, default is C:\Inetpub\wwwroot) that contains settings for every web application under it, or a specific web application's Web.config file (a web application is a virtual directory with an app created on it in IIS - it has a different icon, to be frank).

Add <customErrors mode="Off"/> under <system.web> if it isn't added already. It should be there by default (VS.NET has it in the template for Web.config), so just edit the mode attribute in case.

I also urge you to read the .NET Framework SDK and not just that book. Books may teach you concepts but it's important to understand the technical details as well, such as AppDomains and how ASP.NET works within IIS. It's all in the .NET Framework SDK.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles]
GeneralRe: trouble with data connections Pin
Heath Stewart25-Aug-04 11:36
protectorHeath Stewart25-Aug-04 11:36 
GeneralRe: trouble with data connections Pin
Nick Parker25-Aug-04 11:42
protectorNick Parker25-Aug-04 11:42 
GeneralConverting Bitmap to grayscale Pin
Member 112728625-Aug-04 10:19
Member 112728625-Aug-04 10:19 
GeneralRe: Converting Bitmap to grayscale Pin
Heath Stewart25-Aug-04 10:43
protectorHeath Stewart25-Aug-04 10:43 
GeneralConverting strings into arrays Pin
Anonymous25-Aug-04 10:01
Anonymous25-Aug-04 10:01 
GeneralRe: Converting strings into arrays Pin
Vodstok25-Aug-04 10:06
Vodstok25-Aug-04 10:06 
GeneralRe: Converting strings into arrays Pin
Nick Parker25-Aug-04 10:45
protectorNick Parker25-Aug-04 10:45 
GeneralRe: Converting strings into arrays Pin
Jesse Squire25-Aug-04 10:17
Jesse Squire25-Aug-04 10:17 
GeneralRe: Converting strings into arrays Pin
Vodstok25-Aug-04 10:50
Vodstok25-Aug-04 10:50 
GeneralRe: Converting strings into arrays Pin
Anonymous27-Aug-04 2:31
Anonymous27-Aug-04 2:31 
Generalintercept HTTP Headers in IE Pin
erxud25-Aug-04 9:57
susserxud25-Aug-04 9:57 
GeneralRe: intercept HTTP Headers in IE Pin
Heath Stewart25-Aug-04 10:36
protectorHeath Stewart25-Aug-04 10:36 
GeneralConverting /doc XML file to HTML or help Pin
Joe Woodbury25-Aug-04 9:48
professionalJoe Woodbury25-Aug-04 9:48 
GeneralRe: Converting /doc XML file to HTML or help Pin
Jesse Squire25-Aug-04 9:54
Jesse Squire25-Aug-04 9:54 
GeneralRe: Converting /doc XML file to HTML or help Pin
Nick Parker25-Aug-04 10:08
protectorNick Parker25-Aug-04 10:08 
GeneralRe: Converting /doc XML file to HTML or help Pin
Joe Woodbury25-Aug-04 10:37
professionalJoe Woodbury25-Aug-04 10:37 
GeneralEmpty Dataset Pin
MrJJKoolJ25-Aug-04 8:56
MrJJKoolJ25-Aug-04 8:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.