|
My Global.asax.cs file like this;
---------------------------------
protected void Application_Start(Object sender, EventArgs e)
{
Application.RemoveAll();
}
protected void Session_Start(Object sender, EventArgs e)
{
Session.Timeout = 30;
Session["Authenticated"] = "false";
}
protected void Session_End(Object sender, EventArgs e)
{
Application.Remove(((MyGlobalVariableClass)Session["gVars"]).UserID);
}
My Session.Timeout must be 30 minute.... I think problem related about Application Class...
Do you have any idea?
modified on Tuesday, April 7, 2009 5:20 AM
|
|
|
|
|
hi guys,
i'm new to development in ASP.NET. Infact, this is my first .Net website. After uploading, i get this error:
Server Error in '/' Application.<br />
Configuration Error<br />
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.<br />
<br />
Parser Error Message: Unrecognized attribute 'type'.<br />
<br />
Source Error:<br />
<br />
Line 10: <configuration><br />
Line 11: <configSections><br />
Line 12: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"><br />
the error highlights line 12.
please hw do i fix this?
He who goes for revenge must first dig two graves.
|
|
|
|
|
So Are you trying to run you application from IIS ? Did you set the current ASP.NET Framework version in IIS ?
Do the following steps:
Open IIS
Right-click on the Virtual Directory and click 'properties'.
Click on the ASP.NET tab.
Set default version V 2.0 .
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
One of my Clients once got this error. Are you using Ajax in your Project ?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
if ur site is working fine on local then check whether u hav upload all the dll and other needed files and uplaod them again in proper location and check ur web.config
|
|
|
|
|
On local, everything works fine. i'm not running it on local anymore. i've uploaded it to the site. Also there's no ajax with it.
devesh sinha wrote: if ur site is working fine on local then check whether u hav upload all the dll and other needed files and uplaod them again in proper location and check ur web.config
i'm not which dlls to upload, and where they should be uploaded.
He who goes for revenge must first dig two graves.
|
|
|
|
|
Creamboy wrote: . i've uploaded it to the site.
What does it mean ? Did you deployed it into IIS ? Did you try what I have suggested?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Abhijit, i tried what u suggested. Still same error.
Abhijit Jana wrote: i've uploaded it to the site.
I mean, i've put it up on the webserver
But i'm not sure which dlls should be uploaded. Or what could still be the problem?
He who goes for revenge must first dig two graves.
|
|
|
|
|
Publish ur website and upload it as it is on server.
Do make sure that ur webhost is support ur dot net version.
|
|
|
|
|
Creamboy wrote:
Did you create the virtual Directory?
Does IIS register with ASP.NET Framework ?
IIS Property setup correctly ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Creamboy wrote: URGENT HELP NEEDED
not to me. The first rule of getting decent help is not to use this word.
Creamboy wrote: Parser Error Message: Unrecognized attribute 'type'.
Creamboy wrote: type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
If you read the error message, it is telling you a wealth of information. Here is the deal chap! In your dev environment you used Framework 3.5, where as in the machine you deploy it, it did not find 3.5, either you need to install 3.5 in the deployed machine, or you need to remove your dependency to 3.5
Visual studio is notorious for adding references you don't need. If you not using any 3.5 specially, you should be able to remove it from your web.config.
p.s. If you not familiar with web.config, make sure to keep a copy before your start changing it
Good Luck, do it quickly, IT IS URGENT
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I have test caes in remote machine. How will I execute the test cases in remote from my System.
Anantha
|
|
|
|
|
ananthakumar_s wrote: I have test caes in remote machine. How will I execute the test cases in remote from my System.
Does this any thing related to ASP.NET ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Yes . i have to test the My site but test cases in remote machine using mstest cmd/ c#
|
|
|
|
|
I want to build a windows application that can send sms to the mobile. The message has to be fetched from a table of Sql server 2005 database. The sms should be sent in 2 ways-
1) Through sms gateway
2) Through H/W (modem,GSM etc.)
Please send me code for sending sms in C#.Net in both the above mentioned ways. Thanks in advance.
|
|
|
|
|
Enough already. This gets asked at least twice a day. Learn to use google. Learn to search this site for articles. Learn to do something for yourself.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
hye!!!! I am sending this once
|
|
|
|
|
swami samarth wrote: hye!!!! I am sending this once
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
this question has been asked many times before also.
For sending sms u need to buy an account from any content provider.
They will give u link or api and u have to pass ur sms to the provider then they will forward it to the destination number specified by u.
There is no direct method to send sms.
|
|
|
|
|
Just go to this link
http://www.codeproject.com/KB/cpp/SendSmsThroughWS.aspx
The miracle is this--the more we share, the more we have.
|
|
|
|
|
Hi,
I used a grid view with paging option. If i switch to various pages, the height and width of the Grid view changed according to the datas. Is there is any way to display a constant Grid?
|
|
|
|
|
You could use CSS to specify a size.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
simple as he says use google with gridview displays or try asp.net\samples
cheers.
|
|
|
|
|
I would like to know how to use a Borland C++ dll in a ASP.NET project....
It would also be helpful if i could know how to add this dll in the website cache...
Thanks in advance ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|