473,320 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Compiler problems

I compile my project. No errors. Then I hit my page and I get an

Error in Application "/"

[No relevant source lines]

I change nothing and recompile. Works fine. If I compile twice in a row,
still get the error. I have to compile, hit the page, compile again.
Every single time. It is driving me batty. Anyone know the solution for
this?

-Cam

Nov 15 '05 #1
3 1548
Hi,

I know very little about visual studio, and you've told us even less of your
situation (hit the page? sorry not too familiar with asp.net).

I'll have a guess anyway -> try doing rebuild all instead of compile.

Just a complete shot in the dark.

Pete

cameron wrote:
I compile my project. No errors. Then I hit my page and I get an

Error in Application "/"

[No relevant source lines]

I change nothing and recompile. Works fine. If I compile twice in a
row, still get the error. I have to compile, hit the page, compile
again. Every single time. It is driving me batty. Anyone know the
solution for this?

-Cam

Nov 15 '05 #2
Hit the page == load the page up in the web browser

I have tried doing builds and rebuilds. Same issue.

-Cam

Nov 15 '05 #3

Hi Cameron,

Does it work now?
If it still does not work, please feel free to let me know.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| X-Tomcat-ID: 137089916
| References: <3F**************@appdepot.com>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-*****@online.microsoft.com (Jeffrey Tan[MSFT])
| Organization: Microsoft
| Date: Fri, 29 Aug 2003 07:22:03 GMT
| Subject: RE: Compiler problems
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| Message-ID: <IN**************@cpmsftngxa06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Lines: 124
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:180539
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
|
| Hi Cameron,
|
| These access denied errors were cause because the aspnet_wp.exe was not
| running
| under the correct context.
|
| Here are the steps to fix this:
|
|
|
| Steps to develop using a remote file share located on a different computer
|
| 1) On the remote computer
|
| a) Create a share on the remote computer
|
| b) Make sure that the .NET Framework has been installed on the remote
| computer
|
| c) Give the ASP.NET developer full NTFS control to this directory
|
| 2) On the development box
|
| a) Make sure that IIS is installed
|
| b) Open Internet Information Services Manager
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type inetmgr
|
| iv) Press Enter
|
| c) Point the Default Web Site to use the remote file share
|
| i) Right Click the Default Web Site
|
| ii) Select Properties
|
| iii) Select the Home Directory Tab
|
| iv) Under "When connecting to this resource, the content should
| come
| from? " Select a share located on another computer?
| v) Type the path to the remote share (i.e.
| <\\somecomputername\somesharename>)
|
| vi) If prompted, supply the connect as information
|
| (1) For the username you should use DomainName\UserName
|
| (2) For the password, you should use this users domain
| password
|
| vii) If you did not get prompted, select the Connect As button
and
| provide the required information.
|
| d) Make sure that Visual Studio .NET and the .NET Framework are
installed.
|
| e) Add the ASP.NET developer to both the VS Developers and Debugger
Users
| groups
|
| f) Open the machine.config file from the C:\<window
| directory>\Microsoft.NET\Framework\v1.0.3705\CONFI G
|
| i) Find the <processModel> element; make sure that this is not
the
| commented out section
|
| ii) Set the username="DomainName\UserName"
|
| iii) Set the password="DomainNamePassword"
|
| g) Reset IIS
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type iisreset
|
| iv) Press Enter
|
| h) If you have made changes to the .NET Framework code security or if
you
| are unsure, run the following
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type caspol -machine -recover
|
| iv) Press Enter
|
| i) Open the Microsoft .NET Framework Configuration tool
|
| i) Click Start
|
| ii) Go to Settings
|
| iii) Select Control Panel
|
| iv) Double click Administrative Tools
|
| v) Double click on the Microsoft .NET Framework Configuration
icon
|
| j) Create a new code group
|
| i) Expand Runtime Security Policy
|
| ii) Expand Machine
|
| iii) Expand All_Code
|
| iv) Right Click LocalIntranet_Zone
|
| v) Select New
|
| vi) In the Create Code Group window
|
| (1) Give the code group a name, click Next
|
| (2) From Choose the condition type? select URL
|
| (3) For the URL, type <file://machinename/sharename/*>;
| Click Next
|
| (4) Select Use existing permission set and select
| FullTrust; Click Next
|
| (5) Click Finish
|
| k) Reset IIS
|
| i) Click Start
|
| ii) Select Run
|
| iii) Type iisreset
|
| iv) Press Enter
|
|
|
| You should now be able to create and debug applications on your local
| machine
|
| Hope this helps.
|
| Best regards,
| Jeffrey Tan
| Microsoft Online Partner Support
| Get Secure! - www.microsoft.com/security
| This posting is provided "as is" with no warranties and confers no rights.
|
| --------------------
| | Message-ID: <3F**************@appdepot.com>
| | Date: Thu, 28 Aug 2003 14:39:05 -0600
| | From: cameron <ca****************@appdepot.com>
| | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0)
| Gecko/20020530
| | X-Accept-Language: en-us, en
| | MIME-Version: 1.0
| | Subject: Compiler problems
| | Content-Type: text/plain; charset=us-ascii; format=flowed
| | Content-Transfer-Encoding: 7bit
| | Newsgroups:
|
microsoft.public.dotnet.languages.csharp,microsoft .public.dotnet.framework.a
| spnet
| | NNTP-Posting-Host: hsdbrg64-201-211-159.sasknet.sk.ca 64.201.211.159
| | Lines: 1
| | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
| | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.framework.aspnet:172442
| microsoft.public.dotnet.languages.csharp:180391
| | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| |
| | I compile my project. No errors. Then I hit my page and I get an
| |
| | Error in Application "/"
| |
| | [No relevant source lines]
| |
| | I change nothing and recompile. Works fine. If I compile twice in a
row,
| | still get the error. I have to compile, hit the page, compile again.
| | Every single time. It is driving me batty. Anyone know the solution for
| | this?
| |
| | -Cam
| |
| |
|
|

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: paul calvert | last post by:
I hope somewhere here has encountered and solved a similar problem in the past. 1) on a new Win2000 PC: installed Visual C++ 6.0 download & install single file Service Pack 5.0 2) try to...
8
by: jon morgan | last post by:
OK, I'm going to be brave. There is a bug in VS.Net 1.1 that causes random compiler errors. I have raised this issue in posts at least three time in the past couple of months without attracting...
10
by: forgotten field | last post by:
Hi,how are you? I have been studying C++ by myself, but recently I am having a real problem. I am learning about the basic usage of a doubly linked list using polymorphism. However, I have got the...
14
by: Mark Dufour | last post by:
After nine months of hard work, I am proud to introduce my baby to the world: an experimental Python-to-C++ compiler. It can convert many Python programs into optimized C++ code, without any user...
48
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott...
5
by: wkaras | last post by:
I've compiled this code: const int x0 = 10; const int x1 = 20; const int x2 = 30; int x = { x2, x0, x1 }; struct Y {
19
by: llothar | last post by:
I must say i didn't expect this. I just did some measures on FreeBSD 6.2 with gcc 3.4.6 and there is absolutely no significant difference between 32 and 64 bit mode - neither in compilation speed,...
3
by: Rene | last post by:
Hello to all! For a long time I have been "fighting" a problem compiling an OpenGL program which uses GLUT. First I have put a question in a Watcom group (I want to use this compiler) to which I...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
6
by: David Mathog | last post by:
Do any of you happen to have links to compendiums (or heaven forbid, an actual manual) which maps compiler warnings and errors to examples of actual code problems? In this case I'm specifically...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.