Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > ASP.NET development Web server broke

Reply
Thread Tools

ASP.NET development Web server broke

 
 
Sathyaish
Guest
Posts: n/a
 
      05-05-2009
I had VS 2005 with v2.0 of the framework. Then I installed NDoc
recently and that supports only v1.1, so it installed v1.1 on top of
v2.0. That is fine because both versions can co-exist but what it did
was screw up some settings with:

a) The web server that comes with ASP.NET, the one you run your web
services on in debug mode.

b) SQL Server's active CLR settings (but this isn't bothering me as
much)

c) IIS settings (but I fixed this by re-registering IIS with 2.0)

What's bothering me to the hilt now is the broken ASP.NET web server
won't allow me to debug my Web services or even have another project
in the same solution create a web reference to it.

I can't generate proxies in Visual Studio because of this, nor can I
set a web reference to a web service in the same solution (as it
involves generating a proxy).

Note that I can call wsdl.exe though. But I don't want to deploy my
service yet. I just want all projects in the same solution referencing
the ws like well-behaved little kids.

When I do try to create a web reference to the WS project in my
solution, I keep getting this error:


Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource
required to service this request. Please review the following specific
parse error details and modify your source file appropriately.

Parser Error Message: Could not create type 'DaWS.PhoneDirectory'.

Source Error:


Line 1: <%@ WebService Language="C#"
CodeBehind="PhoneDirectory.asmx.cs"
Line 2: Class="DaWS.PhoneDirectory" %>



Source File: /PhoneDirectory.asmx Line: 2


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3082;
ASP.NET Version:2.0.50727.3082


It's been nagging me for days now and I've been managing with
deploying in IIS.

Other than re-install Visual Studio, does anyone have a better
solution?
 
Reply With Quote
 
 
 
 
Jerónimo Milea
Guest
Posts: n/a
 
      05-08-2009
Hi Sathyaish, just repair the install of .NET 2.0, its easy and it should
fix your problem.

Hope it helps
Jerónimo Milea

"Sathyaish" <(E-Mail Removed)> escribió en el mensaje de
noticias:(E-Mail Removed)...
> I had VS 2005 with v2.0 of the framework. Then I installed NDoc
> recently and that supports only v1.1, so it installed v1.1 on top of
> v2.0. That is fine because both versions can co-exist but what it did
> was screw up some settings with:
>
> a) The web server that comes with ASP.NET, the one you run your web
> services on in debug mode.
>
> b) SQL Server's active CLR settings (but this isn't bothering me as
> much)
>
> c) IIS settings (but I fixed this by re-registering IIS with 2.0)
>
> What's bothering me to the hilt now is the broken ASP.NET web server
> won't allow me to debug my Web services or even have another project
> in the same solution create a web reference to it.
>
> I can't generate proxies in Visual Studio because of this, nor can I
> set a web reference to a web service in the same solution (as it
> involves generating a proxy).
>
> Note that I can call wsdl.exe though. But I don't want to deploy my
> service yet. I just want all projects in the same solution referencing
> the ws like well-behaved little kids.
>
> When I do try to create a web reference to the WS project in my
> solution, I keep getting this error:
>
>
> Server Error in '/' Application.
> --------------------------------------------------------------------------------
>
> Parser Error
> Description: An error occurred during the parsing of a resource
> required to service this request. Please review the following specific
> parse error details and modify your source file appropriately.
>
> Parser Error Message: Could not create type 'DaWS.PhoneDirectory'.
>
> Source Error:
>
>
> Line 1: <%@ WebService Language="C#"
> CodeBehind="PhoneDirectory.asmx.cs"
> Line 2: Class="DaWS.PhoneDirectory" %>
>
>
>
> Source File: /PhoneDirectory.asmx Line: 2
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:2.0.50727.3082;
> ASP.NET Version:2.0.50727.3082
>
>
> It's been nagging me for days now and I've been managing with
> deploying in IIS.
>
> Other than re-install Visual Studio, does anyone have a better
> solution?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DropDownList inside GridView won't fire any longer! aka - I moved a page to another web-site and now it's broke! mark4asp ASP .Net 1 03-26-2007 04:06 PM
web browsing broke after 5 minutes Jeroen Bakker Cisco 0 08-16-2006 05:32 PM
Web Application development vs windows client development cabernet123@hotmail.com ASP .Net 0 11-17-2005 12:09 AM
Adding Web.Config file broke my website! Anna ASP .Net 2 02-15-2005 08:34 PM
FTP Server Broke? Computer Support 9 02-22-2004 10:12 PM



Advertisments