Configured Identity Incorrect Error

we have just migrated to a new server both with database and web server-
migrating all web projects and all databases.then we decided to rename the
new server.we tried running all web projects on the new server but it doesnt
work causing error "configured identity incorrect, check username and
password" in a certain line in the code.

i have searched for possile solutions like synchronizing identity account in
the 3 locations where this account is stored but it seems it doesnt work.
Earlier i was able to fix scheduled jobs in the database not working caused
by renaming the new server which is also the name of the database server.But
problems in the web files itself (asp) are giving me headache particularly in
code lines with "createobject."

Whats seems to be the particular problem?Can anyone point me to the right
resources to fix this prob?

View Replies


ADVERTISEMENT

Error Incorrect Syntax Near

When i insert some values float in a form made with ASP appear an error message like this:

Microsoft OLE DB Provider for SQL Server (0x80040E14)
Line 1: Incorrect syntax near ','.

sql="select id from tbl_monete where id_taglio="&idtaglio
rs1.open sql, conn

idTaglio it's the value of money that can be like 0,5 0,2,
0,1 etc etc
If i try one or two times it'll work correctly, why?
Table tbl_monete has field id_taglio that is float.

View Replies View Related

Problems Wiht .hta Page. Error 405 - Address Incorrect.

I have IIS 5.0 running on a Win2000 server. I have
scripts that I want to run on the web page. It was
suggested to me to create an .HTA page instead of .asp
or .html to make them run. The scripts now run fine, but
when the action is finished, I get the error:

The page cannot be displayed
The page you are looking for cannot be displayed because
the page address is incorrect.

HTTP 405 - Resource not allowed

after completing a task associated with a button press,
in this case a folder copy!

I'm not very familiar with .hta pages, can someone help
me with why I might be getting this error. Are .hta
pages supposed to be used with newer version of IIS
instead of 5.0

View Replies View Related

Permissions Configured

I keep getting"Unable to open registry key 'Temporary (volatile) Jet DSN "
errors pointing to my connection string when the same connection string
is working for a few of my other pages.The MSAccess database does have
the right permissions configured. Below is code I'm using:

<%
dbcon="DBQ=" & Server.Mappath("diary.mdb") & ";Driver={Microsoft Access
Driver (*.mdb)};"
Set calConn = Server.CreateObject("ADODB.Connection")
calConn.Open dbcon%>
<%dim freetsql,rsfree
freetsql = "select text_field from diary where dte ='" & dfm & "'"
set rsfree = Server.CreateObject("ADODB.Recordset")
rsfree.Open freetsql,calConn,3 %>

View Replies View Related

Identity

I know in SQL Server that you can increment a field by one with Identity, but have read where if 2 or more people submit information at the same time this number may be duplicated. Is there a way to keep from having an incremental number duplicated if 2 or more people submit information at the same time?

View Replies View Related

@@IDENTITY

' Insert a new record into the table
lsSQL = "INSERT INTO tMembers (MemberName) VALUES ('Manohar');" &_
"SELECT @@IDENTITY AS NewID;"

I want to collect one more value from the newly created recordset. It's a replication ID field. Can i add one more item to the values being collected or should i just use another recordset and retrieve data i'm after.

View Replies View Related

Returning Identity.

I tried the following:

Set RS=CN.Execute("INSERT into tableX yada yadayada ; SELECT
SCOPE_IDENTITY()")

Using Profiler, I see the statement go through.
But ASP gives me an error saying RS is not an object.
"Operation is not allowed when the object is closed."

In these lines
if not RS.EOF then
theNewId=RS.Fields(0)
end if

If I run the same query in QueryAnalyzer, I do get a return value.

Am I missing something?

View Replies View Related

ASP+M$SQL: @@identity Problem

I m writing a very typical ASP script which insert a record into one table with an identity column and then get the id generated and insert into another table.

Table_1 columns:
id_1
name

Table_2 columns:
id_1
id_2

But in with the ASP script below, I can't get the id_1 back. Code:

View Replies View Related

Retrieving @@Identity ID In Sql

i'm trying to retrieve the @@Identity ID in sql so i can insert it into my other tables. the following code works in access, but not sure how it would retrieve it in sql. Code:

View Replies View Related

Identity Of Controls

i have a webpage which has 3 forms and each of the form has a about 20 controls. now what i want is to have these controls displayed in a mixed manner on the screen. moreover the ACTION pages of all the three forms are different. so is there anyway in which we can specify that TO WHICH FORM do they belong

my page is something like this

FORM1 starts
TEXTBOX(of FORM1)
FORM2 starts
TEXTBOX(of FORM2)
BUTTON(of FORM1)
END OF FORM1
TEXTBOX(of FORM2)
END OF FORM2

View Replies View Related

Capturing Identity

I have made a asp page that accepts some data from user and stores it in MS Access database. Now I want to identify the user who filled the form and store this information in database. About the enviornment.

the server has Windows 2000 server installed. Clients have Windows XP. Server also has Exchange 2003 installed and every client has Outlook Express installed. Every user has to login to his account inorder to use a machine. A given user can login on any machine.

How can i find the identity of the user who submitted the form? Is it possible to find out the current logged in user given the IP address of the machine? If yes, how and will there be any chances of error due to delay in replication?

View Replies View Related

Identity Impersonate

Is it possible to use <identity impersonate> in ASP?(not ASP.net)

View Replies View Related

Incorrect Syntax Near ')'.

StrSql = "SELECT * FROM [" & Screen & "] WHERE (CPN="&(COORDID)&") AND (CNUM="&(CNUMQS)&")

View Replies View Related

Incorrect Syntax Near '' ?

I get this error with this sql statement in MSSQLincorrect syntax near '' ?

this is part or the sql statement:-

ORDER BY Sum([Ratings].[Rating])Count([Ratings].[RatingID]) DESC

View Replies View Related

Incorrect DB Schema?

I need from an Access database using ASP. Everything I need can be found in the database, but it is scattered among different tables. Here's the situation:

Currently many tables exist, one for each event. Each table contains participants and results. Each table is for only one venue, but many tables for the same venue may exist (different events at the same location on a different date).

I need a table of participants that automatically updates if a new participant is found.

I need a table of venues that automatically updates if a new venue is found.

I need to be able to show a particpant's results at any given venue for any given time period. Code:

View Replies View Related

Incorrect Sessionkey

Recently i noticed that there was an incorrect piece of data displayed in a
page and after investigating i noticed that it belongs to another sessionkey.

Have you experienced anything like this? i.e. when you retrieve the
sessionkey from the session variable, you get a different one?

View Replies View Related

@@Identity Not Returning Data??

I have some asp that should be inserting a shopper into my SQL Server DB. Code:

View Replies View Related

Getting New Identity Of A Record Just Added

I have a web page that adds records to multiple tables. I want to be able to get the new identity of a new record that was just added to the table. If for some reason, it didn't add, I want an error message to show up.

Here's the code in stored procedure for getting the new product id after the record was added. Code:

View Replies View Related

Old ASP Windows User Identity

Is there a way in ASP (3.0, not .NET) for me to determine who the current windows users is (i.e. the user who was authenticated and who is "running" this IIS session)?

View Replies View Related

COUNT Field Incorrect

Getting this error:

[vbs]Microsoft OLE DB Provider for ODBC Drivers error '80040e10'

[Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect

/admin/articles.asp, line 277
[/vbs]

On this line:

SQL="UPDATE article SET title='" & request.form("title") & "',topic= " & request.form("topic") & " ,article_text='" & request.form("article_text") & "' WHERE title='" & request.form("hidden") & "'"

When it is just one line coming from the article_text thing it works fine, when it is several lines it gives this COUNT error...

View Replies View Related

Incorrect Syntax Near The Word

I converted my Access databases to MS SQL. I then changed the code in my ASP pages to compensate. I wanted to check that it would work. I ran into a problem: It keeps saying:

[Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'User'.

BTW this piece of code works fine in Access and only crashes when using SQL. Can't find anything relevant on the Internet. Can someone help please? Code:

View Replies View Related

Incorrect Date Format

my problem is the FormatDateTime function it is changing the date format to MM/dd/yyyy but we need dd/MM/yyyy. We already changed the settings for the administrator user. Access the regedit tool and change the format to dd/MM/yyy on all the users on the server but we are still getting the incorrect format.

First we got for every case the format switch. For example we ask for this FormatDateTime("01/10/2003",2) Octuber 1st, 2003 an the result was "10/01/2003" January 10th, 2003
for days lower than the 12th and even if we send FormatDateTime("31/10/2003", 2) we got "10/31/2003". The server is running Windows 2000 Advanced Server with IIS 5.0

After some changes this is what is happening know

FormatDateTime("01/10/2003", 2) -- > 10/01/2003
FormatDateTime("31/10/2003", 2) -- > 31/10/2003

View Replies View Related

Retrieve A Record Identity From A Mysql

is there any way I retrieve record identity from data that i just insert in...

View Replies View Related

Empty @@identity (sql Server 2000)

Am having a bit of trouble with the @@identity field - I probably just have that friday feeling and am missing off something obvious, but the below code brings back am empty identity value ("sid" appears empty). I've definitely set up an identity field in the tblSurvey:

set rsAdd = Server.CreateObject("ADODB.Recordset")
rsAdd.open "tblSurvey", conn, 3 , 3
rsAdd.AddNew
rsAdd("title") = title
rsAdd("intro") = intro
rsAdd("enddate") = enddate
rsAdd.Update

Set rsIdentity = Conn.Execute("SELECT @@IDENTITY AS sid")
sid = rsIdentity("sid")

....any ideas would be greatly appreciated.

View Replies View Related

Identify Login User Identity

I am doing a webpage which allows different users from various departments to do a search/print information of people within their own department. I have a login page for user to key in the correct password and id before they enter the system. However, in order for the restriction to take place, I will have to ensure that the system recognises the person that is logged into the system.

View Replies View Related

Incorrect Http Form Parsing

When I do testing with a test post page, everything functions properly. When
the actual customer does the post, the attribute following the "file"
attribute is concatenated to the file itself. When I execute the
HttpPostedFile.SaveAs(), the resulting file is what is sent Plus the
following form attribute. This following attribute is not in any Collection
from the Request object. Code:

View Replies View Related

IE's Default For Save As Type Incorrect

I'm using a binary stream to send down a file with ASP from the web
server. I've been having trouble with IE and getting it to recognize
my file. I've added the filename as a paramater(?filename=file.jpgw)
to handle IE's mime type mangling, but I'm still having trouble with
IE's default Save As Type being HTML.

When we send down a jpgw
(geo-jpeg) file IE wants to save it as an HTML file. I've got the
correct filename showing in the Filename box, and if I choose the All
Files option from the Save As Type drop down then the file is saved
with the correct extension. I'd like to have the All Files option
choosen by default. I know it's just a couple of clicks but we have
some noivce users that can't seem to get that.

View Replies View Related

MS Access Date Format Is Incorrect

I am storing dates in a database. WHen i come to do sql queries on the dates access is interpreting them as US format (mm/dd/yyyy). When the date is stored in the db it is in the correct uk format (dd/mm/yyyy) but when asp passes the queries to access the date format changes if the day is above 13.

For example if the date being searched is 10/2/2006 (10th feb 2006) it is searching the database for 2nd October 2006. If the i pass is 13/02/2006 (13th feb 2006) it searches it correctly.

I have tried setting the session.lcid to 2057 but this makes no difference. I read somewhere that access automatically treates dates as US format and only tries another format if the us format doesnt make sense. Is there any way around this?

View Replies View Related

Formatting Date Incorrect Code

I have two dynamic listboxes.One is a date and needs formatting.I am using DWMX and therefore used the format function within the dynamic listbox wizard.When I run the page the listbox without formatting is ok, but the date listbox returns the following:

Microsoft VBScript runtime error '800a000d'. Type Mismatch 'DoDateTime' /admincontacts.asp, line 189

Line 189 is the following:

<option value="<%=(rsAdmin.Fields.Item("Date_Added").Value)%>" <%If (Not isNull(DoDateTime((rsAdmin.Fields.Item("Date_Added").Value), 1, 4105))) Then If (CStr(rsAdmin.Fields.Item("Date_Added").Value) = CStr(DoDateTime((rsAdmin.Fields.Item("Date_Added").Value), 1, 4105))) Then Response.Write("SELECTED") : Response.Write("")%> ><%=(rsAdmin.Fields.Item("Date_Added").Value)%></option>

View Replies View Related

ASP/mySQL Incorrect Date Format Returned

I have all of the dates I use in my tables stored as date in the YYYY/MM/DD format, with the columns set to DATE.

When I do any queries on the database (not usinf ASP) I get YYYY/MM/DD format returned.

When I do a recordset("datefield") ASP request I get D/M/YYYY returned. I have not asked anything to convert it, I have no idea where it is getting converted. It is a real pain, as I need to copy these dates through out the table, and they are getting returned in the wrong format.

View Replies View Related

Cannot Insert Explicit Value For Identity Column In Table 'cwm_Report_Request_Form'

I am trying to retrieve a record identity from a SQL Server auto-incremented field on insert statement.

Here is the error I am getting can anyone please help me

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert explicit value for identity column in table 'cwm_Report_Request_Form' when IDENTITY_INSERT is set to OFF.

/cwm/Admin/reportrequest.asp, line 66

here is my code:

View Replies View Related

XMLHTTP - Trying To Replace Incorrect Displayed Chrs With The Correct Ones

I have used xmlHTTP to grab a page from a server.. The page has the '£'
symbol in it, when it get to my site it is displayed as a '?'.. I have tryed
replace every way I know and it does not swap back..

I have tryed replace "?" , "£"
I have tryed chr(63) , chr(163)
I have tryed "?" , &pound;

nothing works, except it does change the real '?' on the page, I mean the
'?' that started out as '?' and not as '£'
if I right a bit of code to count the '£' on the page it get the total right
including the original '?' and the '?' that are supposed to be '£'.. I dont
understand it I can count them by saying if {loopchr} = chr(63) but the the
chr(63) does not work in a replace statement..

I have examend the feed from theXMLHTTP and they are or seem to be got a '?'
and yet I cant replace them

View Replies View Related

ServerVariables("URL") Return Incorrect Pagename

From Page1.asp, I use "Server.transfer" to "REDIRECT" to another asp page
(page2.asp),
in page2.asp I use Request.ServerVariables("URL") and
Request.ServerVariables("REFERER") to get the lastpage and the actual page,
this method (or property) return incorrect values: "Page1.asp" and ""

Why?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved