|
configuration>
<!--start connection string-->
<appSettings/>
<connectionStrings>
<add name="CS" connectionString="data source=.; initial catalog=sqldata; integrated security=true"/>
</connectionStrings>
<!--end connection string-->
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
Error Message: Only one <configSections> element allowed per config file and if present must be the first child of the root <configuration> element.
Warning 2
The 'requirePermission' attribute is not declared.
|
|
|
|
|
Please do not crosspost
Jon
'When once a republic is corrupted, there is no possibility of remedying any of the growing evils but by removing the corruption and restoring its lost principles; every other correction is either useless or a new evil.' ~ Montesquieu
Soap Box 1.0: the first, the original, reborn troll-less
|
|
|
|
|
I don't know much about web configs but let us try to deconstruct this message:
Only one <configSections> element allowed per config file
I see you only have one <configsections> element : Good
and if present must be the first child of the root <configuration>: element.
The first child of the root <configuration> element is <appSettings/> : Bad
I think you will have to take it from here...
|
|
|
|
|
i already understand this and i already made this and remove <appsettings> but it give more errors and i even try put inside the <configuration> but also same make a lot errors specially as u see this is the connection string so i not know how handle this with this error
|
|
|
|
|
I do not know how to make Visual Stuido 2008 to validate the style page in accordance with css3 standarts. It checks according to css2.1 standarts and give error. So stuff lie opacity is given as error in the VS.
How could I change it to css3 validator. Thank you.
All the best.
|
|
|
|
|
|
|
|
I dont know why this statement is giving me error . I have written this in a Javascript file that is attached to my project. I am trying to declare a variable containing todays date. Can Anyone help please?
|
|
|
|
|
are you certain this line has the error ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Absolutely, I am using Visual studio 2008.
I tried following code in studio 2005 now but i am getting same error. Not sure why it is occuring? Really strange.. Is there any other way to get todays date in some variable?
function Test() {
var today = new Date();
alert(today);
}
<asp:Button ID="Button1" runat="server" OnClientClick="Test();" Text="Button" /><br />
|
|
|
|
|
I used the below code and it worked fine for me
<script type="text/javascript">
var today = new Date();
alert(today);
</script>
|
|
|
|
|
It should work because it is a correct code.
But what can be the reason for it to be failing?
Everytime i try to declare any Date variable it gives me : Microsoft JScript runtime error: Object expected
I have tried to reboot my pc still it doesnt work.. Is my Jscript engine corrupted or something?
|
|
|
|
|
I think your browser got whacked somehow. Reinstalling the browser will help you.
Date is a prototype should be declared within the library of browser.
It is working for all of us. Sorry cant help you.
|
|
|
|
|
Now..the following statement is giving me error: Sys is undefined.
var wRequest = new Sys.Net.WebRequest();
I have no clue whats been hapening, i have reinstalled latest ajax toolkit but it is still occuring.
|
|
|
|
|
Thickbox requires DTD to be add to the html document. When I add
to the document.
The page looks good in IE but gets messy in Firefox. Although the thickbox works without the DTD in IE , it does not open the box in middle of screen. When I add the DTD it is centered properly but the page gets messy in Firefox. It is hard for me to make the page DTD compatible , what is the alternate solution ?
|
|
|
|
|
You may need to detect the browser and serve the right code based on the browser type.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
My ASP application uses a custom dll that I had previously developed. The custom dll sits in the bin directory of my ASP project. The custom dll project is located on my PC in the directory C:\development\new\.
The ASP application works successfully when executed in visual studio on my PC. When I build my web site and publish to a remote server it does not work because it looks for the custom dll in the C:\development\new\ directory which does not exist on the remote server.
The custom dll is in the bin directory on the remote server so why is it looking for it in C:\development\new\?
thanks
Mark
|
|
|
|
|
Use Server.MapPath("virtual Path") to get the actual path.
|
|
|
|
|
Hello,
I have a situation at work where we need to host our website locally and we where deciding on using Windows XP Professional as the OS for the server and IIS as the Web Server software. Is this a good idea as may have read somewhere that windows XP can only handle a certain amount of concurrent connections to it, I am not sure on this but just wanted to make sure.
Regards,
Christian Pace
|
|
|
|
|
|
Yes, you are going to have severe limitations. Go with server '03 or '08.
Rob
http://tagyurit.com
r
|
|
|
|
|
Yes, you are going to have severe limitations. Definitely go with Server '03 or better.
Good luck,
Rob
http://tagyurit.com
r
|
|
|
|
|
Yes I have gone with that thank you very much for your nice and helpful reply.
|
|
|
|
|
Hi all,
Thank you Arun Jacob, I have done your suggestion before I posted my first question, that is why I needed to "say how can I regain". However, I have got an inetpub from an XP (sp2). The only thing I want to know is, are they the same vista's inetpub XP's inetpub. Sorry for my english.
modified on Tuesday, September 15, 2009 3:34 AM
|
|
|
|