CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 8/16/2004 4:56:09 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 51 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
bob_garick
Asp.Net User
HttpRuntime doesn't work in C#?8/16/2004 4:56:09 PM

0/0

I'm using C#.

I can run the site with my Access Datasource, but when I try to use the same datasource via C#, my module that is emphatic about not finding the HttpRuntime assembly when trying to locate my Access Datasource.

mConnectionString += "Data Source=" + System.Web.HttpRuntime.AppDomainAppPath + mProviderPath.Replace("~\\", "") + mDatabaseFilename;

The core Framework (written in VB.net) uses the same object, but when compiled, VS.net wants me to add an assembly reference. And System.Web is already there!

I tried using Server.MapPath, but that's just as foreign to the compiler.

Currently I'm hardcoding the path to my database but there must be another way. I'm sure it is something silly, but I don't know what it is.

TIA,
Bob
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Pro ASP.NET 2.0 in C# 2005: Create Next-generation Web Applications with the Latest Version of Microsoft's Revolutionary Technology Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1426, Published: 2006
Pro ASP.NET 2.0 in VB 2005: special edition. Authors: Laurence Moroney, Matthew MacDonald, Pages: 1360, Published: 2006
Component-Based Development with Visual C# Authors: Ted Faison, Edmund W. Faison, Pages: 1008, Published: 2002

Web:
The ASP.NET HTTP Runtime The IIS 6 worker process doesn't know anything about ASP.NET and managed code. ... NET process model—a working model built to work on IIS 5.x. ...
TheMSsForum.com >> Asp >> httpRuntime - MaxRequestLength - 404 ... The code is identical for the two grids but doesn't work for the second. .... Add("C") .Items.Add("D") End With End Sub Tag: httpRuntime - MaxRequestLength ...
File Upload - httpRuntime maxRequestLength - .NET ASP upload is more than the maxRequestLength of the httpRuntime tag within .... ( Doesn't look particularly pretty to the user). ...
Is it OK to use HttpRuntime.Cache outside ASP.NET applications ... There doesn't seem to be anything in current versions of System.Web.Caching. Cache that depend on the HTTP runtime except for the Insert() method that ...
Inside Microsoft: Using HttpRuntime.AppDomainAppVirtualPath to ... Aside from the fact that Visual Basic 6 doesn’t allow you to do this, the complexity of your ... you may wonder why the In-Process mechanism won’t work. ...
How to intercept error when httpRuntime maxRequestLength is exceded. If my posted file is bigger than maxRequest in httpRuntime i can trap i in Application_Error but the redirect to an error page doesn't works ...
p2p.wrox.com: Archives - asp_dotnet_app_design archive Look for the element in the file. If it doesn't exist, ... Line 11 : Source File: C:\ASPNET\work\web.config Line: 9 ...
Cache data for a web service in HttpRuntime.CodeGenDir? - .NET ASP based cache storage, I don't think the HttpRuntime. ... mentioned, I think the program files specific path ( "C:\Program ...
Peter Bromberg's UnBlog: System.Web.Caching.Cache, HttpRuntime ... Nov 2, 2007 ... Cache call work sometimes, while some other times does not. A couple of posters replied, ... "recycling doesn't effect [sic] HttpRuntime. ...
TheMSsForum.com >> Asp >> httpRuntime executionTimeout - The ... Ne MTA calling STA COM object access deniedâ?? problem doesn't alter .... tabstrip webcontrol can not work in framework 1.1 (Type your message here) Hi all, ...




Search This Site:










why do my menus float in the wrong place?

visual studio .net 2005 professional july ctp won't start-up!

grabbing login name

website directory name

literal control. how to do this?

run *.aspx files in server.

.text appropiate?

help build the ultimate dnn support site

nullable(of t) in vb.net

best way to do a three level menu other than the default pop outs in menu control

getting a word doc to show in contentplaceholder

objects

how to extract the cms

ie treeview.selectednodeindex always returns "0"

how do i remove the site navigation?

minimum files to upload to an isp

linking login tables with own product tables

experts?? problem with the webrequest/webresponse

what is the best resource for this? dnn or something else?

hi everyone

affiliate referrals

secure pages: can i use output caching?

what is .cctor() displayed in place of actual method name in permcalc report?

radio buttons updating one drop menu when checked

having trouble inserting date value into the database

isinrole in app_code

instant messaging with system.messaging

dialog box

wap and masterpage issue

need helkp with an error when running a vs08 app that i have converted from vs05...

 
All Times Are GMT