Click here to Skip to main content
16,014,568 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How do i open a text file on a button click Pin
www.Developerof.NET28-Apr-07 20:37
www.Developerof.NET28-Apr-07 20:37 
GeneralRe: How do i open a text file on a button click Pin
xibeifeijian29-Apr-07 3:50
xibeifeijian29-Apr-07 3:50 
GeneralRe: How do i open a text file on a button click Pin
The Texas Rattle Snake26-Jul-07 21:22
The Texas Rattle Snake26-Jul-07 21:22 
Questiondatagrid problem Pin
sra2228-Apr-07 1:26
sra2228-Apr-07 1:26 
AnswerRe: datagrid problem Pin
Mazdak28-Apr-07 10:41
Mazdak28-Apr-07 10:41 
QuestionCheckbox Pin
Yogi Pandey28-Apr-07 1:25
Yogi Pandey28-Apr-07 1:25 
AnswerRe: Checkbox Pin
xibeifeijian28-Apr-07 4:48
xibeifeijian28-Apr-07 4:48 
Questionproblem with SubDomains !!! Pin
amin_behzadi28-Apr-07 0:24
professionalamin_behzadi28-Apr-07 0:24 
Hi my dears,
I have a website in asp.net 2.0 and C#.
My website has several subdomains and in each subdomain I have a master file with several content files, then I created subdomains in my Control Panel and then created directories in wwwroot. Now when I visit www.mySite.com/subDomain1/ anything is OK! but when I visit subDomain1.mySite.com an error occures :

Runtime Error <br />
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <br />
<br />
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".<br />
<br />



my web.config file contents is :

< configuration ><br />
	< appSettings /><br />
	< connectionStrings ><br />
		< add name="ConStr" connectionString="myConnectionString" >< /add ><br />
	< /connectionStrings ><br />
	< system.web ><br />
		< customErrors mode="Off" /><br />
		< sessionState mode="InProc" timeout="30"/><br />
		< httpRuntime executionTimeout="90" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/><br />
		< anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="43200" cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="All" cookieless="UseCookies"/><br />
		< compilation debug="true"><br />
			< assemblies><br />
				< add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/><br />
				< add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/><br />
			<br />
		<br />
		< authentication mode="Windows"/><br />
	<br />
 <br />
<br />
Should I define somethings about subDomains in web.config?<br />
Or is the problem because of master files in each subdomain?<br />
What should I do, <br />
thx for your helps!<br />
<br />
<br />
 <br />
<br />
<div class="ForumSig">www.behzadi.net</div>

AnswerRe: problem with SubDomains !!! Pin
Guffa28-Apr-07 0:50
Guffa28-Apr-07 0:50 
GeneralRe: problem with SubDomains !!! Pin
amin_behzadi28-Apr-07 0:55
professionalamin_behzadi28-Apr-07 0:55 
Questionneed clarification for menu structure. [modified] Pin
SrividhyaSwami27-Apr-07 23:51
SrividhyaSwami27-Apr-07 23:51 
QuestionControls Pin
John.L.Ponratnam27-Apr-07 21:40
John.L.Ponratnam27-Apr-07 21:40 
AnswerRe: Controls Pin
Sathesh Sakthivel27-Apr-07 21:53
Sathesh Sakthivel27-Apr-07 21:53 
GeneralASP.Net & SQL2005 Express Pin
Psycho-*Coder*-Extreme27-Apr-07 17:27
Psycho-*Coder*-Extreme27-Apr-07 17:27 
GeneralRe: ASP.Net & SQL2005 Express Pin
Christian Graus27-Apr-07 20:00
protectorChristian Graus27-Apr-07 20:00 
GeneralRe: ASP.Net & SQL2005 Express Pin
Psycho-*Coder*-Extreme27-Apr-07 20:20
Psycho-*Coder*-Extreme27-Apr-07 20:20 
QuestionHow to set the default page on asp.net Pin
Britney S. Morales27-Apr-07 13:22
Britney S. Morales27-Apr-07 13:22 
AnswerRe: How to set the default page on asp.net Pin
kubben27-Apr-07 14:06
kubben27-Apr-07 14:06 
AnswerRe: How to set the default page on asp.net Pin
Christian Graus27-Apr-07 14:39
protectorChristian Graus27-Apr-07 14:39 
QuestionASP.NET C# Code Behind SQL Update on a form Pin
Ibuprofen27-Apr-07 12:22
Ibuprofen27-Apr-07 12:22 
AnswerRe: ASP.NET C# Code Behind SQL Update on a form Pin
Christian Graus27-Apr-07 13:19
protectorChristian Graus27-Apr-07 13:19 
GeneralRe: ASP.NET C# Code Behind SQL Update on a form Pin
Ibuprofen27-Apr-07 13:20
Ibuprofen27-Apr-07 13:20 
GeneralRe: ASP.NET C# Code Behind SQL Update on a form Pin
Christian Graus27-Apr-07 13:57
protectorChristian Graus27-Apr-07 13:57 
GeneralRe: ASP.NET C# Code Behind SQL Update on a form Pin
Ibuprofen27-Apr-07 13:21
Ibuprofen27-Apr-07 13:21 
GeneralRe: ASP.NET C# Code Behind SQL Update on a form Pin
Christian Graus27-Apr-07 13:56
protectorChristian Graus27-Apr-07 13:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.