|
A few days ago i moved a asp-application i created to a new server. This application connects to an access-database by using odbc.
Funny thing is, that is can connect to the database and read records without problems, but whenever i try to write data in to the database i get an internal server error.
On the old server everything worked ok. The datase is writeenabled and there is no password on it.
The difference is, on the new server runs IIS 6.
So maybe some settings have to be changed to allow me to write to the database but i have no idea what to change. I have given writeaccess to every user of my application, but this didn't make any difference.
Any idea would be highly appriciated, cause i am starting to get a little desperate by now!
|
|
|
|
|
|
GREAT!
This was the solution. I didn't even think about the "NETWORK_SERVICE" user until your mail and now everything is running fine.
THANK YOU VERY MUCH FOR YOUR HELP!
|
|
|
|
|
I have a web based application developed in delphi 5. This program accesses some Html files and is using TGeneralHttpEngine CGI component. This is a third party component. How do I debug this program.
I have tried seting the run parameter to
Host application : C:\WINDOWS\system32\inetsrv\inetinfo.exe
Parameters : -e w3svc.
Also i have set myself as a part of operating system.
I am putting some break points in the program and trying to debug the program by giving corresponding url in the browser, but the control does not goes to my application. Let me know if I am missing anything? Or is there any other way to achieve this?
|
|
|
|
|
hi all . i need to know how can i do a dynamic timer not static.
date.now give the time but it will stay static.
i want to make the clock dynamic (always changed)
|
|
|
|
|
Are you refering to a clock like thing? Something to spit out the current time? Or are you talking about a timer that counts time to an event?
|
|
|
|
|
Hi everyone,
I've got a very annoying problem with MS Frontpage 2002.
Every time I try to open a HTML file that is part of a web, the program crashes. It's the same problem when opening the web directly.
I'm using WinXP, and I just can't Frontpage to work on any of my 3 machines.
Any ideas?
|
|
|
|
|
Why use frontpage?? Use some good HTML editing toolssss
I was born intelligent Education ruined me!.
|
|
|
|
|
|
a page used as a menu in an active desktop enviroment is made up of frames. the menu being the top frame and a main frame for viewing, very simple... So how can i keep a page, such as "Code Project", from jumping out of the frame and taking the whole active window over?
shotgun
|
|
|
|
|
I do not think you can do this. Sites that do what you are describing do this on purpose. They don't want to be framed as part of another site/application. Am I wrong?
// Steve McLenithan
Cluelessnes: There are no stupid questions, but there are a lot of inquisitive idiots.
|
|
|
|
|
I have built a custom web control with C#. For some reason, when another control fires a postback (such as a drop down list with AutoPostBack set to true is changed), the event handler for my custom control gets fired as well as the event that is intended to get fired. Does anyone have an idea why this might be?
Thanks.
-Matt
------------------------------------------
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
|
|
|
|
|
Hi,
I need to re-define the root of my html-page in the following sense:
When you write the picture will be taken from the websites root/pics/ folder. Now, I want to dynamically change this, say I have two different sets of images in
root/picsA and root/picsB - and I want to write something like
<image-root "="" picsa"="">
get it ? All pictures (etc.) must be loaded from another root than the default. I've looked at the <base..> tag, but it doesn't seem to be what I need. any other suggestions ?
Do you know why it's important to make fast decisions? Because you give yourself more time to correct your mistakes, when you find out that you made the wrong one. Chris Meech on deciding whether to go to his daughters graduation or a Neil Young concert
|
|
|
|
|
What language are you wanting to accomplish this with? Regardless, you will have to process what you want on the server side. There are no HTML tags to accomplish what you want. It is a static markup language. Future browsers may have support for something like this using xml (xhtml maybe -- see http://www.w3.org/TR/xhtml1/ for the complet xhtml spec), but browsers in their current iteration do not. I would suggest that you create some routine that keeps track of all your images and inserts a record for each one into a database. Then you can grab an image record and the image path and place those in your src tag.
If you need more specific help, tell me what language you're using.
-Matt
------------------------------------------
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
|
|
|
|
|
Thanks for your answer
I just hoped there would be something like the <base target="myOtherFrame" /> or whatever that could specify a common "root" for all source references (css, images, etc.) - but as I couldn't find it, I asked here. I'll trust you on the "There are no HTML tags to accomplish what you want" statement
Acutually, I'm generating the HTML from a template file with tags I replace with content - all done form C#. In the meantime, I've discovered some other problems regarding the folder-structure / IIS setup I'm using, so I think I'll move to a different setup, where I won't need this "root-switch".
But thanks again - this is why I like CP so much. You usually get at least one answer on a query. A lot of other sites seem to contain primarily questions and no answers...
/Jan
Do you know why it's important to make fast decisions? Because you give yourself more time to correct your mistakes, when you find out that you made the wrong one. Chris Meech on deciding whether to go to his daughters graduation or a Neil Young concert
|
|
|
|
|
Doesn't this work?
<base href="http://your-web-site.com/rootB/" />
I believe it's depreciated in HTML 4.0, but there is a HTTP header you can send to do the same thing.
|
|
|
|
|
that would switch all relative to rootb not just img tags
"there is no spoon" biz stuff about me
|
|
|
|
|
Can anyone recommend a shopping cart? Hopefully a free one. I
have looked at them all. Agoracart is terrible. OsCommerce is
great, but lots of little adjustments.
Does an easy shopping cart exist?
|
|
|
|
|
How about the IBuySpy store. http://www.asp.net?
-Matt
------------------------------------------
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
|
|
|
|
|
PayPal[^] rocks the world. When used with IPN it's just like any commercial solution, I really recommend it
Paul
Open the fridge door, scream, and everything that doesn't run into the corner is safe for eating. - Jörgen Sigvardsson
modified 18-Jul-18 11:59am.
|
|
|
|
|
I am attempting to create a variable for every field in a record set. When attempting to run this code, I get simply a "Syntax Error". Does anyone know why this won't work?
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open "SELECT * FROM " & tableName, MyConn
For each Field in RS.Fields
createVar = Field.Name & "=" & Field.Value
Execute(createVar)
Next
Thanks
|
|
|
|
|
Execute is a method associated with a Server, Connection, or Command object in ASP, not a standalone function. It looks like you're trying to append field values to field names, then treat them as functions. What are you really trying to accomplish?
"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
|
|
|
|
|
Isn't it Server.Execute? I could be wrong...
NATHAN RIDLEY
Web Application Developer
email: nathan @ netlab.com.au
[remove the spaces before and after the @ symbol]
|
|
|
|
|
|
Hi
I have a menu (html) that always stays the same. I want to include this menu on my other html pages, but don't want to use frames.
How is this done? I know there's a #include syntax in asp, but I want to use only html.
tx
|
|
|
|