Dreamweaver MX Asp Page Won't Insert Master Detail
I have defined a recordset in Dreamweaver to retreive information from an Access Database Table, but everytime I try to insert a master detail page, a dialog box asks me to first create a recordset, which I already did. Any thoughts on why it keeps doing this?
View Replies
ADVERTISEMENT
I created a connection, recordset and master detail page using dreamweaver.
When I go to preview the page, I get an error:
"Data source name not found and no default driver specified"
Which tells me that there is not a DSN on the server. I defined the DSN locally, under System DSN. So, does that mean it is only on my system? Do I have to create the DSN on the server?
Here is the code for where I am getting the error: ....
View Replies
View Related
I have two tables. Master and Detail. three of the fields in the Master table hold data that I want to carry over into the same fields in the Detail table when I add a new Detail record. How do I do this? I'm able to carry over the Master key, but am failing to be able to populate the other fields.
View Replies
View Related
I am re-building my website using ASP with an Access Database and Dreamweaver MX 2004.
I have successfully built a product page with previous and next buttons which works fine, this is set to show one product per page.
I also have a detail page which works through a third button on the main product page, this is also set show one product per page, which works okay and takes you to a detail page which then shows further details of the product, but if I go back to the product page using a "Back" button and then use the "Next" button to show the next product in the database this is ok but when I view the detail page the product has not updated and still displays the first product page, I am linking the product page to the detail page using the behaviour "Go to detail page". So the question is how do I get the detail page to link correctly with the product page. Am I using the wrong behaviour ??
View Replies
View Related
We have a master page set up and it is tied to its css file through the standard method in the <head> tag. What I would like to do though is from another page inheriting the master page to add another link to a css file.
That way i can have the sites global file used to make the general apperance consistent, then make the internal content more flexible without destroying the current css file.
Is this a possible task? When i went into the main master page and tried to add a <asp:contentplaceholder id="additionCSS" runat="server" /> tag to the head. When this is done visual studio alerts me saying it doesn't recognize the tag 'asp'. Is there a way around this? We are only just rewriting the site to use master pages now so I'm still figuring it out.
View Replies
View Related
has anyone here had problems trying to retrieve form elements from a dreamweaver insert form? Code:
View Replies
View Related
1 - Yes, Norton Internet Security 2003
2 - NTFS
3 -
Radio button selected = "A directory located on this computer"
Checked = "read", "log visits", "Index this resource"
Execute permissions drop down = "Scripts only"
Application protection drop down = "Medium (Pooled)"
View Replies
View Related
I created my .asp page in Microsoft Visual Studio .NET 2003 and when I right-click my page in there it displays perfectly. But when I try to view it in internet explorer I only get the html part to display.
I've tried regestering iis in the cmd, it didnt solve it. Here is the code if it could be to any interest:
View Replies
View Related
I have been working with ASP classic on this current project im involved in. Well the problem im facing now is there is a page where a flash movie should play in a particular section on the page but it wont play on the secure pages, on the unsecure pages it plays fine. I had added an Active X work in accordance with the Lawsuit issue but it still wont play.
View Replies
View Related
I created a feedback form for my website that has only 2 required fields. When you submit the form it calls my asp page which puts the information in a database and then sends me n email with the information that was entered into the form. The problem is that the form only has two required fileds, and if the remaining non required fields are left empty when the asp page is called it does write to the data base, but does not send me any email. However if I go back in and put somethng in every field in the form then when I submit the form and my asp page is called it writes to the data base and sends me an email with the all the information I entered in the feedback form. Is there a way to tell my asp page that it is ok to send the email even if the non required fields are left empty? I really do not want to have to go back through the form and put default values in for each area of the form? Also is there a way to have an error displayed if the email is not sent? My asp code is below....
View Replies
View Related
I am trying to do some maintenance on a site for one of my clients and all of the pages are done in tables and using ASP.
I got the entire site off of the server and took a page into Dreamweaver to begin some edits. The entire content portion of the code is greyed out and it will not let me edit any of the code. Anyone have any idea why that is? Only the content portion of the page is greyed out, everything else on the page such as the search form, etc. is fine and I can edit that.
Anyone know of a solution or why it may be doing this?
View Replies
View Related
I am trying to establish a connection in Dreamweaver MX 2004 and an Access database for a log in ASP page, but keep getting an error. I am trying to establish "Custom Connection String" and here's what I type into the boxes that pop up:
1) CONNECTION NAME: ConnectToMyDB (I know, here I can put anything)
2) CONNECTION STING: Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:Documents_and_SettingsJohn_SmithMy_Doc umentsJohnsSitedbJohnsWeb.mdb;
(tried with and without quotes around this)
3) Dreamweaver should connect: Using driver on Testing server
4) When I hit "TEST" I get an error "An unidentified error has occurred"
I am using Windows 2000. The database is in a db folder in the my defined site (moved it there). Is it the path I am typing in Dweaver or my Win2000 settings?
Hope someone can tell me what I am doing wrong. Is it my path to the database?
View Replies
View Related
I have a simple ASP form in which I am reading and showing the data from SQL Server database. This database has a nVarchar field, which stores some data in Chinese language. When reading and printing the data using a SELECT query it shows ??? (Question Marks) instead of the Chinese data. I have checked using Query Analyzer that the data is correctly stored in Chinese only.
I have looked up for this problem and it looks like many have faced the same before. But the only solution which seems to be provided for this is using the FORMS 2.0 controls, because VB converts the Unicode to ASCII and that corrupts the data. But is there any other solution to this?
I am using Dreamweaver to write the ASP pages. Dreamweaver is capable of showing the Unicode data, but can’t do much if it gets corrupted data from the VB itself.
So Please any help will be highly appreciated.
That’s the sample code which I am using if it helps: .....
View Replies
View Related
I have downloaded the Visual Web Developer 2005 Beta 2 from Microsoft.I am trying to create a Master Page that all (well, most) of the pages on my site will use. Some of my pages are displayed dynamically from a database. For example, a datagrid can have 5 rows sometimes and 500 rows other times depending on what the user chooses.
My problem is that I created a sample Master Page with a header and footer and 'attached' them to a content page. The footer doesn't dynamically move to the bottom of the page when larger datagrids are loaded. It stays in the same place as it is in 'design' mode in the IDE. Also, I have tried to create other static pages, but if I realize I need more space, I have to go in and move the footer down in the master page. Otherwise the footer is right in the middle of the content when I run the page. Any tips?
View Replies
View Related
I have a master page with one Content Pane, on the left is a Nav bar that has a Login View in it so if the person is an Admin they see on thing if they arn't they see another.
For the regular users I have a gridView that displays a lists of dates pulled from the database. I want to access the selected value there normally if it was inside my content page i could just do Code:
EventID = ((Label)GridView1.SelectedRow.Cells[1].FindControl("Label1")).Text;
But now except GridView on is no longer in my Content Pane but on my Master Page how do I reference to it?
View Replies
View Related
I have this file I need to execute from an ASP client. since we have installed it on the SQL Database server machine, I thought I could run it like this: Code:
View Replies
View Related
Got an item master, think of it like an inventory: description, supplier, cost, unit of measure, etc.
There is an item_type field, which, when set to a particular value, REQUIRES that labor be also entered for this inventory item. I was going to just show/hide a part of the form, but the kicker is that more than 1 labor item can be entered for each inventory item.
View Replies
View Related
i have a working members registration script where members register and it emails confirmation of their registration details to the email address they enter. what i would then like it to do is add them to the users database. I have the code but it chucks up this error when it tries to add the user:
Microsoft OLE DB Provider for ODBC Drivers- Error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
/members/addmember.asp, line 11
Any ideas? Code:
View Replies
View Related
I have been running IIS on Windows 2000 for several years with no problem.
Today, when I clicked on the system tray icon and clicked start service, nothing happened - no error messages. IIS just ignored me completely and would not start.
I am about to try a computer restart - but has anyone else run into this problem?
View Replies
View Related
Preparing a report form in word file using ASP.
How to insert page breaks in word file through ASP to perform a
client side report.
View Replies
View Related
We're working on an online application system - I've got a form that allows an applicant to upload a resume, references and supplemental material: Code:
View Replies
View Related
Seems that my XP Pro IIS is being a jackass. When I run my ASP scripts it seems to give me this wierd error. Big_Al told me that it was because my script is inside a read-only folder and that something along the lines is really messing it all up.
Now this had brought a new problem. I changed the IIS Console features to Read, Write etc. but its not changing the wwwroot nor the sub folders. Whenever I un select read-only it simply reactivates itself ! What do I do to make the damned thing change!?!?!
View Replies
View Related
i have this if endif condition but it doesn't seem to work
if date = "12-06-2007" then
response.write "its december 6"
else
response.write "its not december 6"
end if
and i try this also but its not working either
if day = "6" and month = "December" and year = "2007" then
response.write "its december 6"
else
response.write "its not december 6"
end if
View Replies
View Related
We just upgraded our web servers to ms2003 and iis 6.0. we are also running coldfusion MX7. I get a 404 error when ever I trry to bring up an asp page. On the old server we' re we have both cf and asp pages running w/o issue. Any ideas why I'm getting 404's form my asp pages.
View Replies
View Related
Running Win XP PRO, IIS 5.1
Ok my computer use to run my website with asp. on it then it all of a suddent stoped working.. the pages
i can still view .htm pages but no more .asp pages. it give me a The page cannot be displayed 500 error...
View Replies
View Related
i have made a script and it worls no the local host on my pc but does not work on the server.all of my other asp scripts on the server work any ideas y this would work on the local server and not on the internet?
View Replies
View Related
got some problems inserting a simple flash movie within an ASP page. Actually i am working with Dreamweaver and when I test my page from PWS directory, the flash movie keeps on loading..can't get the flash movie, but when I test the movie outside PWS, it does play the movie.. Should I include any file within the PWS root directory?
View Replies
View Related
Ive build an asp website which works on my local machine and also works when i upload it to other web spaces, but when i upload to one web hosting space - it doesnt (which also happens to be where the client wants it to be).
There are other asp sites running from that location too - which just puzzles me. Would it be something to do with that i use dsn less connections and the other ones use dsn?
View Replies
View Related
I have been working with ASP classic on this current project im involved in. Well the problem im facing now is there is a page where a flash movie should play in a particular section on the page but it wont play on the secure pages, on the unsecure pages it plays fine. I had added an Active X work in accordance with the Lawsuit issue but it still wont play. Has any body faced this problem.
View Replies
View Related
I am trying to have multiple layers on a page that toggle on and off, it
works on a htm file but when I use it as an asp file it doesnt show
anything. Code:
View Replies
View Related
I am gathering the input values to a form using Request.form method from the processing page. After all the data is captured, I am building sql statement out of it.
Using a response.write statement, I am generating the output of the sql statement which I can ran against the table to insert the row.
However, when I am trying to programmatically use the sql statement for the insert, I am having the following error:
View Replies
View Related
I'm trying to insert records into an SQL database coming from a page using the request
..form method. The table "general" has a primary key 'geid .' I get the following error:
Cannot insert the value NULL into column 'geid', table 'general';
column does not allow nulls. INSERT fails.
....not sure how to include the 'geid' field into the scheme.
strSql = "insert into general (firstname,surname,company) values ('"
strSql = StrSql & Request.Form("firstname") & "', '"
strSql = StrSql & Request.Form("surname") & "', '"
strSql = StrSql & Request.Form("company") & "')"
myconn.Execute (StrSql) ....
View Replies
View Related
what I want to make actually is to take the results of a search engine that I use, which are in form of HTML or ASP and transport that results in a DataBase. For example, I wont to place as registrations in the DataBase the equivalents URLs and their descriptions from the results of search. I use MS Access, code asp, HTML , Javascript .
QUESTION! How can I insert the content from an HTML or ASP page into a dataBase? How can I determine from what point to what point a string it will be entered in the first cell of table and afterwards in the next and next ....
View Replies
View Related