Re: No syntax control during webservice validation in Visual Studio 8



I get following error message:

Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: CS1002: ; expected

It is obviously a standard compile error, but I get it from IIS not
from Visual Studio.

I created another web service solution and everything works fine there
(build realy does the syntax control). I compared the property
settings for this and the broken solution but I didn't find any
difference. The only difference is, that the build in the corrupted
solution outputs only:

------ Build started: Project: S:\...\MyWebService\, Configuration:
Debug .NET ------
Validating Web Site

Validation Complete
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped
==========

Building the working solution outputs:

------ Build started: Project: C:\...\MyWebService\, Configuration:
Debug .NET ------
Validating Web Site
Building directory '/MyWebService/'.

Validation Complete
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
==========

It looks like VS is ignoring the webservice directory, but I' m not
able to find anything relevant in settings.

Another difference is that the corrupted solution is placed on drive S:
which is just subst for some directory on C:. I thougt that might be
the reason, but new web service solution created on this virtual drive
was also working...

.



Relevant Pages

  • Re: intel compiler problem
    ... The error message seems ... Declarations are absolutely critical to diagnosing compilation ... Just seeing the isolated code line doesn't help ...
    (comp.lang.fortran)
  • Bug Report: Unclear Error Message
    ... When you by mistake have two properties with same id in dual interface in ... idl file the compilation fails and the error message does not point to the ...
    (microsoft.public.vstudio.general)
  • Re: Error Occured during compilation
    ... > I get two different errors when i compile it with 'gcc' as well as ... > gcc compilation ... If you don't show us the actual error message, ... I compiled your code under Cygwin, ...
    (comp.lang.c)
  • Re: Backup Error
    ... denied" error message when you log on to Windows SharePoint Services ... An error occurred during the compilation of a resource ... Compiler Error Message: CS0016: Could not write to output file ...
    (microsoft.public.windows.server.sbs)
  • Re: Whats wrong with my connection string to the Access db?
    ... An error occurred during the compilation of a resource required ... Compiler Error Message: CS0246: The type or namespace name ... "Kevin Spencer" wrote in message ... >> I have a connection string like this, anyone know how can I fix it? ...
    (microsoft.public.dotnet.framework.aspnet)

Loading