Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / May 2004

Tip: Looking for answers? Try searching our database.

fatal error JS2008 when compiling a jscript.net assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon Davidson - 10 May 2004 05:21 GMT
I get the following error when attempting to compile a JScript.net assembly.  The compilation error does not specify any syntax errors in the code

The error

fatal error JS2008: Error saving compiled state: The process cannot access the file because it is being used by another proces

This is used to compile the assembly

C:\Inetpub\wwwroot\my_web_app\bin>jsc /t:library FormWidgets.j

The problem goes away when Visual Studio is closed.  The FormWidgets.js file was not open in Visual Studio though

Any ideas?
Justin Rogers - 15 May 2004 23:27 GMT
FormWidgets.dll is probably locked, not the source file.  VS does lock
assemblies at times.

Signature

Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

> I get the following error when attempting to compile a JScript.net assembly.  The compilation error does not specify any syntax errors in the code.
>
[quoted text clipped - 9 lines]
>
> Any ideas?
haim gilboa - 16 May 2004 08:54 GMT
Rok Yu [MSFT] - 17 May 2004 09:08 GMT
The error is complaining that the assembly (or associated
PDB) is locked - not the source file. Were you debugging
an app that loaded FormWidgets.dll?

>-----Original Message-----
>I get the following error when attempting to compile a JScript.net assembly.  The compilation error does not
specify any syntax errors in the code.

>The error:
>
>fatal error JS2008: Error saving compiled state: The process cannot access the file because it is being used
by another process

>This is used to compile the assembly:
>
>C:\Inetpub\wwwroot\my_web_app\bin>jsc /t:library
FormWidgets.js

>The problem goes away when Visual Studio is closed.  The FormWidgets.js file was not open in Visual Studio though.
>
>Any ideas?
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.