473,794 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

virtualpathprov ider

VV
I've created virtualpathprov ider class in my application. Everything is ok
in developer enviroment (asp.net dev server), but when I switch to IIS
everything crashes with Server 500 and 404 error. Please, what I'm missing?!

VV
Feb 20 '07 #1
1 1687
VV
"If a Web site is precompiled for deployment, content provided by a
VirtualPathProv ider instance is not compiled, and no VirtualPathProv ider
instances are used by the precompiled site."

Grrr...

"VV" <VV@zg.htnet.hr wrote in message
news:%2******** *******@TK2MSFT NGP04.phx.gbl.. .
I've created virtualpathprov ider class in my application. Everything is ok
in developer enviroment (asp.net dev server), but when I switch to IIS
everything crashes with Server 500 and 404 error. Please, what I'm
missing?!

VV

Feb 22 '07 #2

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

Similar topics

0
1557
by: Kenny | last post by:
Help...wimper.. been trying to get a virtualpathprovider to work and I have to be missing something. I want users to be able to enter something like mydomain.com/userentereddirectory/ and have that serve up a file. So I use vpp to code up an initialization even, virturalfile, virtualdirectory and virtualpath provider. I have a simple file for testing testing.aspx (no codebehind) that just sets a label to 'hello world' on pageload. Now...
0
1382
by: Pavel Kocar | last post by:
Hi all, how to detect existing .ascx control in Net 2.0? I try to use method in VirtualPathProvider: HostingEnvironment.VirtualPathProvider.FileExists("~/App_UserControls/ucDataPager.ascx"); it return true if file ucDataPager.ascx control exists, but if I publish web site (no editable) and .ascx files not available on the disc, this method return false, its bug?
0
1032
by: dba123 | last post by:
I'm trying to get my custom Virtual Private Class to return SearchResults.aspx in wwwroot\search\ directory. I have a GridView with a list of links. One of the links for example that I clicked on from Here's my source code: http://www.webfound.net/wwwroot.zip my Gridview was http://localhost/recipes/poultry/SearchResults.aspx I get this error when trying to load default.aspx from my local machine (http mode)
1
1909
by: mdufour | last post by:
Hi all, I am working on a VPP and i would need some help. I built my VPP using the model in the Sept 06 issue of Visual Studio Magazine article RESTful ASP.NET app (Page 46). I got the code done (In C# instead of VB.NET) and if i use the url http://locahost/Test all i get is the 404 message from IIS.
0
1244
by: forge1968 | last post by:
I want to handle URLs like this on my IIS site: http://localhost/myapp/REST/foo/1 ('REST/foo/1' doesn't exist - I'll dynamically create the content). I have implemented my own VirtualPathProvider and VirtualFile classes to do this. However, the mimetype of the response is 'application/ octet-stream'. I want it to be 'text/xml'. Changing HttpContext.Current.Response.ContentType does not affect the
0
1270
by: Shane | last post by:
Hello, I'm using VirtualPathProvider for a CMS-like system. As soon as I register the VPP I can no longer debug code with a normal Build -- any changes that I've made since the first build are not recognized unless I rebuild all. Could somebody explain why this is happening? I presume it has something to do with the page being compiled and put into a cache but I cannot figure out how to change the behavior. I can find nothing that...
5
2866
by: Charles Zhang | last post by:
I am creating dynamic web pages according to the user inputs from a web page. For instance, a user typed in a text, I would want the text being the source code of the dynamic page. My question is: How could I access session variables from class that derives from VirtualPathProvider or VirtualFile or the control values of previous web page?
2
1647
by: Jan | last post by:
Is it possible to set the ContentType for the VirtualFile-descendant that a custom virtual path provider returns in response to a call to its GetFile method? Right now, web browsers tend to misinterpret the XML-data I return, because I cannot specify that the content type is text/xml.
1
4626
by: Sriram Srivatsan | last post by:
Hi We are trying to build an application where we render some of the .aspx pages from the database using a class derived from System.Web.Hosting.VirtualPathProvider. Users configure the contents of the page at runtime via the web interface and we do a XSLT transformation and store the contents of the .aspx pages in the database. The .aspx pages are hooked to a well known code behind in an assembly that is deployed as a assembly in the...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.