473,326 Members | 2,061 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,326 software developers and data experts.

WebForm over Network Share

I have been desperately trying to get this to work. I create a C# Web
App on the localhost (the only place i'm allowed to put it). Put an
arbitrary button or something in, compile it, run it... everything
works fine.
Copy the directory over to a network share, set up a virual directory
under my localhosts IIS so that it points to that network share and i
get an inclusion error:

Parser Error Message: Could not load type 'helP.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="helP.Global" %>

Everyone says this error needs a recompile or its a namespace problem
but i have triple checked those.... just cant seem to load a webform
from a network share (console apps etc work fine)

Nov 18 '05 #1
2 1331
Is the virtual directory marked as an application? If not, ASP.NET will
look for helP.Global.dll is http://localhost/bin instead of
http://localhost/share/bin
--
Truth,
James Curran
[erstwhile VC++ MVP]

Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
<br*******@gmail.com> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
I have been desperately trying to get this to work. I create a C# Web
App on the localhost (the only place i'm allowed to put it). Put an
arbitrary button or something in, compile it, run it... everything
works fine.
Copy the directory over to a network share, set up a virual directory
under my localhosts IIS so that it points to that network share and i
get an inclusion error:

Parser Error Message: Could not load type 'helP.Global'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="helP.Global" %>

Everyone says this error needs a recompile or its a namespace problem
but i have triple checked those.... just cant seem to load a webform
from a network share (console apps etc work fine)

Nov 18 '05 #2
thank you for replying, yes its marked as an app. If I remove
application, i get a permissions error:

Exception Details: System.Web.HttpException: Failed to start monitoring
changes

can't tell which one is closer to working? haha.

Nov 18 '05 #3

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

Similar topics

1
by: brian.oneil2 | last post by:
Is there a way to install this onto a network file share and allow a team to access it? I would say share a CD from a networked CD drive, but there are multiple CD's that would have to be inserted....
8
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
6
by: Daniel | last post by:
Hi all, Can i open and edit the excel sheet on web page after downloading? After editing, i close the web page and the excel file auto upload to the server. Is it possible? I really struggling...
0
by: Brite | last post by:
I have been desperately trying to get this to work. I create a C# Web App on the localhost (the only place i'm allowed to put it). Put an arbitrary button or something in, compile it, run it......
3
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
2
by: Michael | last post by:
We have an ASP.NET 2.0 web application running on a Windows 2003 domain controller. Part of that application needs to read and write files from and to a network share ( living on a MAC Xserveraid)...
6
by: tendim | last post by:
G'day group. Currently our organization us using VB6 based applications, and I am trying to push forward and migrate some of the smaller things to VB.NET, eventually migrating all applications...
5
by: lmttag | last post by:
ASP.NET 2.0 (C#) application Intranet application (not on the Internet) Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
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)...
1
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.