The web.config file priority works from bottom to top. E.g if you have a folder in inetpub/wwwroot/myweb_service.
And you have a web.config file in wwwroot and myweb_service the web.config file in myweb-service take higher priority than the one in wwwroot
The web.config file have all the settings and info needed to run say your web service. It is not a good idea to store sensitive info in the web.config file as it can be accessed easily. You can however encode it, but don't ask me how, have not done it before
BLOEDHOND did a good job describing the web.config. It basicaly has the connection string for you sql server and other configuration type data. The Global.asax is a file where you can define some application events. Like application start, application error etc. These events happen the first time your web site is accessed or when your web site gets an error. You should be able to find a lot of information on these files if you just do a google search on them.
Hello all !
I am new here. I know that all of us have a problem with time. It's very relative. Thats way me and my team develop a nice tool for tracking working tasks. It was developed in Visual Studio 2005 C# , Express Edition using .Net Framework 2.0. You can try it here : http://www.time-aware.com
Hope to like it!
For feedback and sugesstions give me a reply .
Thanks for the reply. the solution given by tamimi didn't work.
say I have a bunch text containing combination Bold,Italic and other various font letters, which is formatted using a MS word. Now i want display it in the web Page. but for putting in HTML page we need manually have to edit text right. eg. if you want to display the text in bold, the text must be sorrounded by tags, right. This is what iam asking is it possible to generate these tags automatically by detecting the formats which ever used in the document. (it includes even tables too.)
Yes but its tag soup. The Microsoft .doc format is a jumbled binary mess and they don't give away its specs for free (thats if they even know the specs any more).
Your options depend on how your trying to do this, server-side? in what language? If your working with .NET and can have Word installed along side the web server you can use its interop libraries to save the file as XML and perform an XSLT transformation to turn it into clean HTML (it is possible, I got a degree doing it!). This of course also assumes you can use Office 2003.
Just one question. I'm writing a web service client in .NET with C#. In order to use this ws's operations the client must be authenticated by providing a registered certificate to the server.
Until recently I was convinced that this was done by just using the ClientCertificates.Add() of the object describing the web service. I didn't notice, though, that I've also had that certificate installed in the Internet Explorer Certificate Store. When I removed from there the service authentication stopped working for me, raising an exception with the following message:
"The request failed with HTTP status 400: No client certificate chain in this request."
Question: Is it imperative to install the certificate in the local IE Store??
We've some code that spits out an html table from our application and opens it within excel. One of our clients has recently been having a problem with date formats (operations in different regions of the world).
We changed our code to output all the dates in the format dd mmm yyyy (e.g. 31 Mar 2006), they've come back with a problem that our report is fine for the first couple of hundred lines in excel, the date columns are correctly formatted as dates, but after that line, all the date formatting is lost, and just displayed as 'text'. It's also impossible to change the cell format back to date...
(the line the format is lost on has identical dates in many cases to the previous line...)
Anybody ever seen anything like this? I'm stumped...
I have written a Web service that performs quite well. One of the Webmethods allow me to set a connection string in the web config file so that I can connect to my SQL DB. This web methode will only work if I add the user group "everyone" to the security settings of the web.config file in my InetPub folder for the web service.
How can I get my application to install this setting so that we I install the web service at a client that the security setting are setup automatically.