I have asp pages that call a database and sometimes updates it. The pages are under the root the database is in a db folder under the root. My server guy isn't too sure what the
permissions should be on the server to these folders (root & db). Can you give me some general instructions for this? Or point me in the right direction for the answer?
I´ve ran into trouble after a server upgrade. Win server 2003, IIS ver. 6. All regional settings on the server is swedish(that´s what i want) and it looks correct in all ways but when running the date function in a asp page it returns english short date format 24/5/2004 when I think it should be 2004-05-24.
The problem is that the application assumes swedish short date format.
I´ve read somewhere that the IIS server account has it´s own settings, how do I change this ?
i am having trouble getting CDOSYS to work, i have just changed from CDONTS (which was working fine), because i want to be able to email a webpage as my body Code:
I was testing the date formats with different values set to Session.LCID and then I removed the Session.LCID completely from my asp page and expected the date format to show according to the Regional settings of the server but it was showing the last format of the Session.LCID.
My question is how to remove the value which I previously set to Session.LCID because I want to use back the date format from the Regional settings.
I have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _ "Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.
I can login with EMS lite both with sql server Auth. and windows auth.What is fault?
i have scenario that need to solve in order to complete my project. U guys know that when u try to access another pc or server connected within ur LAN network, sometime it prompt you to input password in order to access the pc or server.
my scenario is i got an asp based web application.All of the ASP pages contain script and logic is hosted on Server A, this web application allow user to upload file into another Server B.
I tried to upload file into Server A, and its work, so i can be sure that my upload logic shdn be wrong. but when i tried to upload file into Server B. i got permission denied error messages. So anyone here know how to set permission in my coding or script or even setting on Server B in order to allow me to upload file into Server B successfully?thx a million
im using server object Wscript.Shell in an asp page to run a bat file, under C:inetpubwwwroot, and after i run the ASP page, it give me an error message that
Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied /wss1/bat.asp, line 22
im sure that Windows Scripting Host is running well in my pc. But it still giving me this problem.below is my coding of the asp pages. Code:
The webserver I'm using (which I can't make any changes to) has a Dutch-localsettings. When doing simple calculations the decimal-symbol in ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol by code? (IIS5)
I'm trying to send mails from asp page.Its showing error.Permission denied.When I checked the IIS settings SMTP server showing unnknown. I cannot start the SMTP server. Wat shall ido to start the smtp server.
I have a problem with the regional settings. I have set the regional settings of the web server to display the numbers in this format 123.456,78. But when I open my web site all number are diplayed with the old format which is 123,456.78. I changes also the regional setting of my computer but it does not work.
is there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?
That was the first question. BTW, I am using Windows 2000 Server.
Second questions is how do I transfer session variables from one virtual website to another website. Currently I have session variables set in say www.first.com and then I click a link and goto www.second.com. How can I transfer session variables from www.first.com to www.second.com? Both sites are virtual websites and running on the same physical server running Windows 2000 Server and IIS.
Is it even possible to transfer session variables between 2 websites? Or share the same variables?
how can i tell the user location (from the ragional settings?) in asp? i have a website written in several languages, i want to check the user country and redirect to his language automatically.
Our problem is that we do not want to expose the password of the data base user here - rather maintain it in a dll - is there a way for the code behind classes to set the user/password programmatically ? and if so how?
Is it possible to declare the window settings (like toolbar displayed, width and height, etc.) when a page is loaded? Or is it only possible when with a link to a page? And is it possible with ASP only, or do you need javascript? Does anyone has some examples/tutorials?
I just installed a win2k server with sql2k and when i run datepart(wk,getdate()) it gives the american day of week, not european were monday =1 how do i fix that? can i set something in control panel? everywhere i look in regional settings I see it all set to swedish.
I am trying to set a webserver to use French regional settings for testing ASP pages. According to http://support.microsoft.com/kb/q306044, for IIS5, this is a matter of changing the regional settings for the authenticated user, and if this user does not have a user profile then the default regional settings. Unfortunately, this does not seem to be working in IIS6, in that I have change the default user's settings and I am still getting English dates. Can anyone tell me if this is because the way IIS chooses its settings has changed for IIS6 or just because I have done something wrong?
How do I turn off the feature that adds code to my ASP pages in Visual Studio 6? I using include files and the editor keeps adding
<html> <title> etc.....
to all of my pages causing them not to display properly in IE or NS. It's a pain going back in and deleting all of the unnecessary code it adds to my pages.
I've defined two application settings in my web.config file. But in the following code :
Dim rootWebConfig1 As System.Configuration.Configuration rootWebConfig1 = System.Web.Configuration.WebConfigurationManager.O penWebConfiguration(Nothing) If (rootWebConfig1.AppSettings.Settings.Count 0) Then
I have been trying for ages to get IIS running ASP script pages, without success.I don't know if it is a problem with IIS or visual studio I have tinkered with all the obvious stuff. point me to a website or a book which covers initial setup, step by step.
I've been trying to save some user settings when the browser closes, but with little success. What I want to do is count a users' resource usage, and write it to a database when the user closes the browser. I tried to use the 'Session_End' event handler in global.asax, but that doesn't seem to work.
i am producing some asp report pages for our company intranet but they dont print out correctly unless i change the internet options settings to "Print background colours or images" is there any way i can change this when people open the webpage?
I wouldnt think that is possible so.... is there any way to get around this using style sheets? I havent really used them yet.
I have an IIS v5.0 installed in a windows 2000 box hosting a set of asp pages. These pages are accessed by premium service subscribers only with a 5-hour timeout setting.
Now I need to build another jsp site for a special group of users which enjoys a longer session timeout of 8 hours. I have duplicated the original asp pages and this duplicated asp pages will be accessed and displayed by iframe in the jsp. (I hate to do this because I'm relying on an ocx for the page to work).
How do I control the session timeout settings of these 2 sets of asp pages so that they have individual timeout settings?
This is regarding a change in the Short Date format under Hebrew Regional Settings, that has caused huge problems in our ASP web application. The change appears to have been introduced sometime before Windows 2000 Service Pack 4 and has remained through to Windows XP. I am looking for a solution that doesn't involve rewriting our application (much) and that allows all our users to keep using Hebrew Regional Settings.
To summarize our problem - we have an ASP-based intranet web application that is used in our Israel office. Before we installed Windows 2000 SP4 on our web server and on the client machines in the office, the application ran perfectly. Dates appeared on the pages and in input textboxes in the correct dd/mm/yyyy format. Immediately after installing SP4, dates on the pages and in input textboxes are formatted as yyyy/mm/dd. This is not just a visual change, it has caused many functions in the application to break. Code:
I will develop asp application(IIS) and have mdb database access(insert new records through ado). The database file will be: c:myAppdatamyData.mdb . The IIS default settings will work, or I need to specify special Privilege?
I'm getting permission denied when I try to create a new folder. I gave the everyone group write permissions to the folder and I still get permission denied. Here is my code:
I have an ASP script which does numerous writes via FSO using ...
Function LogActivity(strText) Dim fso, f Dim strTime strTime = ABCNOW() Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.OpenTextFile((ABC_OS_ROOT_PATH & "ABCMAINLOG.txt"), 8, True) f.WriteLine strTime & " " & strText f.close End Function
.... We have recently tripled the number of users using the app have found that IIS is intermittently reporting 'Permission Denied' while writing to the log. You can try again a moment later and all will be well. Has anyone seen this ? It seems very strange that W2K can't deal with multiple processes/threads writing to the same file without getting itself confused
Our ASP code uses an ADO connection string, which refers to a System DSN. The DSN is set to "Windows NT auth. using network login ID". The code connects to SQL Server and reads data OK. Anonymous browsing is enabled in IIS and uses the IUSR account. We have never added the IUSR account to SQL Server.
I ran SQL Profiler and saw that the ASP was connecting as the local Administrator (I was browsing locally). Is this "integrated" security at work? What would happen if I browsed from another machine?
Now the confusing part. I change the passwords for IUSR and IWAM (correctly for Win, IIS, and MTS). Now the ASP page gets a database access error! SQL Profiler shows it connecting as the IUSR account. Obviously there's no ref to the IUSR account in SQL Server so it fails. Why did it change from Administrator to IUSR? All I did was set the password.
I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content).
If I run web application under Administrator account it works fine. I have also tried to change from Winzip command to run a simple bat- file. Still permission denied.
I have added read & execution rights to for instance IUSR_Machine, IWAM_Machine on cmd.exe, wscript.exe, cscript.exe. Still permission denied. Code: