Thursday, March 29, 2012
Error 18456, State 28000
Running SQL Server 2000... I've installed a new instance of this on a new
server (to migrate from server1 to server2).
On server1, i have a group set up (domain/SQLGroup)...
On server2, i have the exact same group set up... unfortunately all the
users in this group doesn't get recognized by my new sql installation. I
get the error above (SQL Error 18456, State '28000')..
I can change permissions for all the users in this group to have "Domain
Admins", but obviously i don't want to do that... by doing this though, all
access works as before...
SP4 is installed on server2, but not on server1...
Does anyone have any suggestions on how to proceed with this?
Thanks.One thing i should add about this...
Server1 is the Domain Controller...running sbs2000 (windows 2000 server).
Server2 is just windows 2003, and is dedicated to sql server 2000...
Thanks,
...Robin
"RL Tech" <tech_support@.nospamuls.com> wrote in message
news:u1nxZaSUGHA.4952@.TK2MSFTNGP09.phx.gbl...
> Hello,
> Running SQL Server 2000... I've installed a new instance of this on a new
> server (to migrate from server1 to server2).
> On server1, i have a group set up (domain/SQLGroup)...
> On server2, i have the exact same group set up... unfortunately all the
> users in this group doesn't get recognized by my new sql installation. I
> get the error above (SQL Error 18456, State '28000')..
> I can change permissions for all the users in this group to have "Domain
> Admins", but obviously i don't want to do that... by doing this though,
all
> access works as before...
> SP4 is installed on server2, but not on server1...
> Does anyone have any suggestions on how to proceed with this?
> Thanks.
>
Monday, March 26, 2012
Error 1717? Need Help
running on nt4. For reasons unknown, we see a 1717 logged
and the server goes down. I was unable to find anything
in kb.
Any info out there?
ThanksMost likely it is not a SQL Server issue.
Error 1717 means NT starting shutdown process and SQL Server wasn't stoped
first.
So try to find the process which is starting to shutdown your Windows NT.
Do you have an UPS on this NT Server ? If yes do you have an automatic
shutdown software installed ?
Try to look at this side. Also if it is try to check the cable connection
between NT Server and UPS.
Regards
---
All information provided above AS IS.
<JustAGuyInDE@.hotmail.com> wrote in message
news:014601c39fe2$f2673060$a401280a@.phx.gbl...
> We began experiencing a problem with our sql7 instance
> running on nt4. For reasons unknown, we see a 1717 logged
> and the server goes down. I was unable to find anything
> in kb.
> Any info out there?
> Thanks
Error 165 - Sql state Hy000
I have Sql 2000 Server Sp4 with two instances from some day the Sql server
agent of second instance don't start and i can't do automatically backup. In
Sql log i try Error 165, error odbc [sql state HY000]
Can help me to risolve this problem.
Tia pupo
Pupo
take a look at following article:
http://support.microsoft.com/default...b;en-us;811889
Also ,check your SQLAgent service and make sure the account is right.
"Pupo" <123star@.libero.it> wrote in message
news:%2310q9c34FHA.2548@.TK2MSFTNGP10.phx.gbl...
> Hi
> I have Sql 2000 Server Sp4 with two instances from some day the Sql server
> agent of second instance don't start and i can't do automatically backup.
> In Sql log i try Error 165, error odbc [sql state HY000]
> Can help me to risolve this problem.
> Tia pupo
>
Error 165 - Sql state Hy000
I have Sql 2000 Server Sp4 with two instances from some day the Sql server
agent of second instance don't start and i can't do automatically backup. In
Sql log i try Error 165, error odbc [sql state HY000]
Can help me to risolve this problem.
Tia pupoPupo
take a look at following article:
http://support.microsoft.com/defaul...kb;en-us;811889
Also ,check your SQLAgent service and make sure the account is right.
"Pupo" <123star@.libero.it> wrote in message
news:%2310q9c34FHA.2548@.TK2MSFTNGP10.phx.gbl...
> Hi
> I have Sql 2000 Server Sp4 with two instances from some day the Sql server
> agent of second instance don't start and i can't do automatically backup.
> In Sql log i try Error 165, error odbc [sql state HY000]
> Can help me to risolve this problem.
> Tia pupo
>
Error 165 - Sql state Hy000
I have Sql 2000 Server Sp4 with two instances from some day the Sql server
agent of second instance don't start and i can't do automatically backup. In
Sql log i try Error 165, error odbc [sql state HY000]
Can help me to risolve this problem.
Tia pupoPupo
take a look at following article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;811889
Also ,check your SQLAgent service and make sure the account is right.
"Pupo" <123star@.libero.it> wrote in message
news:%2310q9c34FHA.2548@.TK2MSFTNGP10.phx.gbl...
> Hi
> I have Sql 2000 Server Sp4 with two instances from some day the Sql server
> agent of second instance don't start and i can't do automatically backup.
> In Sql log i try Error 165, error odbc [sql state HY000]
> Can help me to risolve this problem.
> Tia pupo
>
Error 165 - Sql state Hy000
I have Sql 2000 Server Sp4 with two instances from some day the Sql server
agent of second instance don't start and i can't do automatically backup. In
Sql log i try Error 165, error odbc [sql state HY000]
Can help me to risolve this problem.
Tia pupo
Pupo
take a look at following article:
http://support.microsoft.com/default...b;en-us;811889
Also ,check your SQLAgent service and make sure the account is right.
"Pupo" <123star@.libero.it> wrote in message
news:%2310q9c34FHA.2548@.TK2MSFTNGP10.phx.gbl...
> Hi
> I have Sql 2000 Server Sp4 with two instances from some day the Sql server
> agent of second instance don't start and i can't do automatically backup.
> In Sql log i try Error 165, error odbc [sql state HY000]
> Can help me to risolve this problem.
> Tia pupo
>
Error 165 - Sql state Hy000
I have Sql 2000 Server Sp4 with two instances from some day the Sql server
agent of second instance don't start and i can't do automatically backup. In
Sql log i try Error 165, error odbc [sql state HY000]
Can help me to risolve this problem.
Tia pupo
Pupo
take a look at following article:
http://support.microsoft.com/default...b;en-us;811889
Also ,check your SQLAgent service and make sure the account is right.
"Pupo" <123star@.libero.it> wrote in message
news:%2310q9c34FHA.2548@.TK2MSFTNGP10.phx.gbl...
> Hi
> I have Sql 2000 Server Sp4 with two instances from some day the Sql server
> agent of second instance don't start and i can't do automatically backup.
> In Sql log i try Error 165, error odbc [sql state HY000]
> Can help me to risolve this problem.
> Tia pupo
>
sql
Thursday, March 22, 2012
Error 1603 on Installation
called Reports. On installing RS it allowed selecting an instance so I
thought that everything was fine. When it came to configuring SQL Server
portion of the RS install I got an error 1603. This is Windows 2003 Server
and SQL Server 2000 Standard version 8.00.859
Any ideas of what to do?
Bruce L-CNevermind. I unistalled everything, cleaned up the registry and left over
files. Went into windows 2003 application server configuration and made sure
had everything. Reinstalled SQL Server default install and this time it
worked. Now everything went smoothly with RS installation. I think it didn't
like have no default installation for SQL Server.
Bruce L-C
"Bruce Loehle-Conger" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:u1KifHXdEHA.228@.TK2MSFTNGP11.phx.gbl...
> The SQL Server installation has no default instance. It has an instance
> called Reports. On installing RS it allowed selecting an instance so I
> thought that everything was fine. When it came to configuring SQL Server
> portion of the RS install I got an error 1603. This is Windows 2003 Server
> and SQL Server 2000 Standard version 8.00.859
> Any ideas of what to do?
> Bruce L-C
>sql
Error 15401
When using the "Enterprise Manager" to add logins to a SQL Server
instance, I'm running into an error 15401. Before I get too far, let me
describe the environment I'm doing this in:
We have two domains:
Domain A is an old NT 4 style domain.
Domain B is a new Active Directory domain powered by Windows Server 2003
running in the "Windows Server 2003" domain functional level.
We're in the process of transitioning from Domain A (with the hopes of
retiring the domain soon), to Domain B. As such, currently, there is a
two trusts between Domain A and Domain B (going in each direction).
On Windows Server 2003 machine on Domain B, I've installed SQL Server
2000, and have it patched to SP4. I've set up a new database on this
SQL server (running as a standard domain B user), and was in the process
of adding logins for it when I encountered the error 15401. Precisely
what I was doing was using the Enterprise Manager on the server directly
to add logins, specifically I was trying to add a few groups from Domain
A to the databse. This is where the error crops up.
(I should note, adding users of Domain B is not a problem, that
functions correctly.)
So, I started troubleshooting, and in doing so, looked over this document:
http://support.microsoft.com/default.aspx?scid=kb;en-us;324321
None of the situations described in that document apply. There is no
possability of duplicate logins, as this is a new install of SQL Server,
and a freshly created database (just to be sure tho, I manually examined
the syslogin tables in the master db).
There is no problem with the Domain Trust, as the Enterprise Manager on
the same machine as SQL Server is on, can display a list of groups and
accounts from both Domain A and Domain B, not to mention people can from
Domain A can connect to shares offered on the Window Server without trouble.
I've also read that its possible that SQL Server internally caches SIDs,
so I rebooted both the server, and the PDC for Domain A, as well as the
domain controllers for Domain B, with no success.
One additional symptom (not knowing how else to describe it). When an
ASP page, running as a user from Domain A, attempts to connect to the
database in Domain B, it gets a "Login failed for user 'derek'.", even
though the page is running as "A\scott". So where it gets "derek" from,
I haven't even a slightest clue.
If anyone has any ideas or help, it would be greatly appreciated.
Thanks
ScottIt looks to me like you have covered all of the likely problems... Perhaps
a call to PSS is your next step.
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Scott Peron" <scott@.infolytica.com> wrote in message
news:%23VTQ%23HuYFHA.3488@.tk2msftngp13.phx.gbl...
> Hi folks,
> When using the "Enterprise Manager" to add logins to a SQL Server
> instance, I'm running into an error 15401. Before I get too far, let me
> describe the environment I'm doing this in:
> We have two domains:
> Domain A is an old NT 4 style domain.
> Domain B is a new Active Directory domain powered by Windows Server 2003
> running in the "Windows Server 2003" domain functional level.
> We're in the process of transitioning from Domain A (with the hopes of
> retiring the domain soon), to Domain B. As such, currently, there is a
> two trusts between Domain A and Domain B (going in each direction).
> On Windows Server 2003 machine on Domain B, I've installed SQL Server
> 2000, and have it patched to SP4. I've set up a new database on this SQL
> server (running as a standard domain B user), and was in the process of
> adding logins for it when I encountered the error 15401. Precisely what I
> was doing was using the Enterprise Manager on the server directly to add
> logins, specifically I was trying to add a few groups from Domain A to the
> databse. This is where the error crops up.
> (I should note, adding users of Domain B is not a problem, that functions
> correctly.)
> So, I started troubleshooting, and in doing so, looked over this document:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;324321
> None of the situations described in that document apply. There is no
> possability of duplicate logins, as this is a new install of SQL Server,
> and a freshly created database (just to be sure tho, I manually examined
> the syslogin tables in the master db).
> There is no problem with the Domain Trust, as the Enterprise Manager on
> the same machine as SQL Server is on, can display a list of groups and
> accounts from both Domain A and Domain B, not to mention people can from
> Domain A can connect to shares offered on the Window Server without
> trouble.
> I've also read that its possible that SQL Server internally caches SIDs,
> so I rebooted both the server, and the PDC for Domain A, as well as the
> domain controllers for Domain B, with no success.
> One additional symptom (not knowing how else to describe it). When an ASP
> page, running as a user from Domain A, attempts to connect to the database
> in Domain B, it gets a "Login failed for user 'derek'.", even though the
> page is running as "A\scott". So where it gets "derek" from, I haven't
> even a slightest clue.
> If anyone has any ideas or help, it would be greatly appreciated.
> Thanks
> Scott
Monday, March 19, 2012
Error 1413 during setting up mirroring session
hi guys , does anyone of you have a good solution on the Error 1413: Communications to the remote server instance failed before database mirroring was fully started issue?
Best Regards,
Hans
Do you see any network issues between Principal and mirror?
Explain when and where you are getting this error and if this is during the failover then work around for this problem:
If there is an issue with NIC on the servers that are in DBMirroring then you would see these alerts.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=481967&SiteID=1 post too.
Error -133 on installing Service Pack 4 for SQL7
Hallo, my problem is to upgrade instance of SQL7 to SQL7 SP4.
Server is WIN2K SP4 + MDAC 2.8 SP1
Installing the SQL7 Server from CD is OK.
When i try to apply the SQL7 SP4 the first fase, when SP4 checks all conditions to start is OK, when start to copy file i receive an error -113 like this
--
Error occurred during the move data process: -113
Component Server: base server \ base server files
File Group: Base Server Files
File: C:\70SP4\X86\Setup.....\SQLIMAGE.DLL
--
On server is installed the library SQLDMO.DLL for SQL2000 but only the library used by an application VB6.
In need to install SQL7 and i can't install SQL2000 or SQL2005 because we work with an application written for SQL7. I've tried to migrate application SQL2000 but not work properly.
Somebody can help me ?
Thanks in advance.
Aragorn
Have you got or already installed SQL 7 on this machine?
If there are instances running for SQL 2000 and 2005 then you may not be able to install previous version of SQL until unless these are uninstalled.
It might be a problem with SP4 files, try to download again and apply.
ERROR 126
that I set up, I get a error message about not being able
to load a driver (not specific) error 126 SQL server
"TBXML" <TBXML@.discussions.microsoft.com> wrote in message
news:4c5f01c4c6a1$7a342ad0$a601280a@.phx.gbl...
> When I try and connect to the instance of the SQL server
> that I set up, I get a error message about not being able
> to load a driver (not specific) error 126 SQL server
What version of SQL Server are you working with.
Are you using a Sybase driver by accident?
Rick Sawtell
MCT, MCSD, MCDBA
|||It is the version of SQL that comes with SBS 2003
premium. in terms of enterprise or standard i don't know.
I will look into it.
If i am using a sybase driver how do i know?
>--Original Message--
>"TBXML" <TBXML@.discussions.microsoft.com> wrote in
message[vbcol=seagreen]
>news:4c5f01c4c6a1$7a342ad0$a601280a@.phx.gbl...
server[vbcol=seagreen]
able
>
>What version of SQL Server are you working with.
>Are you using a Sybase driver by accident?
>
>Rick Sawtell
>MCT, MCSD, MCDBA
>
>.
>
ERROR 126
that I set up, I get a error message about not being able
to load a driver (not specific) error 126 SQL server"TBXML" <TBXML@.discussions.microsoft.com> wrote in message
news:4c5f01c4c6a1$7a342ad0$a601280a@.phx.gbl...
> When I try and connect to the instance of the SQL server
> that I set up, I get a error message about not being able
> to load a driver (not specific) error 126 SQL server
What version of SQL Server are you working with.
Are you using a Sybase driver by accident?
Rick Sawtell
MCT, MCSD, MCDBA|||It is the version of SQL that comes with SBS 2003
premium. in terms of enterprise or standard i don't know.
I will look into it.
If i am using a sybase driver how do i know?
>--Original Message--
>"TBXML" <TBXML@.discussions.microsoft.com> wrote in
message
>news:4c5f01c4c6a1$7a342ad0$a601280a@.phx.gbl...
>> When I try and connect to the instance of the SQL
server
>> that I set up, I get a error message about not being
able
>> to load a driver (not specific) error 126 SQL server
>
>What version of SQL Server are you working with.
>Are you using a Sybase driver by accident?
>
>Rick Sawtell
>MCT, MCSD, MCDBA
>
>.
>
ERROR 126
that I set up, I get a error message about not being able
to load a driver (not specific) error 126 SQL server"TBXML" <TBXML@.discussions.microsoft.com> wrote in message
news:4c5f01c4c6a1$7a342ad0$a601280a@.phx.gbl...
> When I try and connect to the instance of the SQL server
> that I set up, I get a error message about not being able
> to load a driver (not specific) error 126 SQL server
What version of SQL Server are you working with.
Are you using a Sybase driver by accident?
Rick Sawtell
MCT, MCSD, MCDBA|||It is the version of SQL that comes with SBS 2003
premium. in terms of enterprise or standard i don't know.
I will look into it.
If i am using a sybase driver how do i know?
>--Original Message--
>"TBXML" <TBXML@.discussions.microsoft.com> wrote in
message
>news:4c5f01c4c6a1$7a342ad0$a601280a@.phx.gbl...
server[vbcol=seagreen]
able[vbcol=seagreen]
>
>What version of SQL Server are you working with.
>Are you using a Sybase driver by accident?
>
>Rick Sawtell
>MCT, MCSD, MCDBA
>
>.
>
Friday, March 9, 2012
Error 1001
Is anyone aware when this error comes in sql server?
Error 1001: Cannot start service MSSQLSERVER.An instance of the server is
already running.
regards,
Harshal."harshal mistry" <harshal_in@.hotmail.com> wrote in message
news:%23t%23ufwv9EHA.3368@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Is anyone aware when this error comes in sql server?
> Error 1001: Cannot start service MSSQLSERVER.An instance of the server is
> already running.
> regards,
> Harshal.
>
This error means that the MSSQLServer service is already running and you are
trying to start it again. What are you doing when this error occurs?
You may have your SQL Server set up to start automatically when the computer
restarts. If you then run a program or a command-line utility that issues
a NET START MSSQLServer command, you will get this error.
HTH
Rick Sawtell
MCT, MCSD, MCDBA|||thanks for the reply... from the error I had guessed it, but since it is
happening at a clients place so I don't have the details yet.
He was trying to start the MSDE setup when the error occured...
thanks
harshal.
"Rick Sawtell" <quickening@.msn.com> wrote in message
news:%23SE36bx9EHA.220@.TK2MSFTNGP09.phx.gbl...
> "harshal mistry" <harshal_in@.hotmail.com> wrote in message
> news:%23t%23ufwv9EHA.3368@.TK2MSFTNGP10.phx.gbl...
is[vbcol=seagreen]
> This error means that the MSSQLServer service is already running and you
are
> trying to start it again. What are you doing when this error occurs?
> You may have your SQL Server set up to start automatically when the
computer
> restarts. If you then run a program or a command-line utility that
issues
> a NET START MSSQLServer command, you will get this error.
> HTH
> Rick Sawtell
> MCT, MCSD, MCDBA
>
>
Error 1001
Is anyone aware when this error comes in sql server?
Error 1001: Cannot start service MSSQLSERVER.An instance of the server is
already running.
regards,
Harshal.
"harshal mistry" <harshal_in@.hotmail.com> wrote in message
news:%23t%23ufwv9EHA.3368@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Is anyone aware when this error comes in sql server?
> Error 1001: Cannot start service MSSQLSERVER.An instance of the server is
> already running.
> regards,
> Harshal.
>
This error means that the MSSQLServer service is already running and you are
trying to start it again. What are you doing when this error occurs?
You may have your SQL Server set up to start automatically when the computer
restarts. If you then run a program or a command-line utility that issues
a NET START MSSQLServer command, you will get this error.
HTH
Rick Sawtell
MCT, MCSD, MCDBA
|||thanks for the reply... from the error I had guessed it, but since it is
happening at a clients place so I don't have the details yet.
He was trying to start the MSDE setup when the error occured...
thanks
harshal.
"Rick Sawtell" <quickening@.msn.com> wrote in message
news:%23SE36bx9EHA.220@.TK2MSFTNGP09.phx.gbl...[vbcol=seagreen]
> "harshal mistry" <harshal_in@.hotmail.com> wrote in message
> news:%23t%23ufwv9EHA.3368@.TK2MSFTNGP10.phx.gbl...
is
> This error means that the MSSQLServer service is already running and you
are
> trying to start it again. What are you doing when this error occurs?
> You may have your SQL Server set up to start automatically when the
computer
> restarts. If you then run a program or a command-line utility that
issues
> a NET START MSSQLServer command, you will get this error.
> HTH
> Rick Sawtell
> MCT, MCSD, MCDBA
>
>
Error 1001
Is anyone aware when this error comes in sql server?
Error 1001: Cannot start service MSSQLSERVER.An instance of the server is
already running.
regards,
Harshal."harshal mistry" <harshal_in@.hotmail.com> wrote in message
news:%23t%23ufwv9EHA.3368@.TK2MSFTNGP10.phx.gbl...
> Hi,
> Is anyone aware when this error comes in sql server?
> Error 1001: Cannot start service MSSQLSERVER.An instance of the server is
> already running.
> regards,
> Harshal.
>
This error means that the MSSQLServer service is already running and you are
trying to start it again. What are you doing when this error occurs?
You may have your SQL Server set up to start automatically when the computer
restarts. If you then run a program or a command-line utility that issues
a NET START MSSQLServer command, you will get this error.
HTH
Rick Sawtell
MCT, MCSD, MCDBA|||thanks for the reply... from the error I had guessed it, but since it is
happening at a clients place so I don't have the details yet.
He was trying to start the MSDE setup when the error occured...
thanks
harshal.
"Rick Sawtell" <quickening@.msn.com> wrote in message
news:%23SE36bx9EHA.220@.TK2MSFTNGP09.phx.gbl...
> "harshal mistry" <harshal_in@.hotmail.com> wrote in message
> news:%23t%23ufwv9EHA.3368@.TK2MSFTNGP10.phx.gbl...
> > Hi,
> >
> > Is anyone aware when this error comes in sql server?
> >
> > Error 1001: Cannot start service MSSQLSERVER.An instance of the server
is
> > already running.
> >
> > regards,
> >
> > Harshal.
> >
> >
> This error means that the MSSQLServer service is already running and you
are
> trying to start it again. What are you doing when this error occurs?
> You may have your SQL Server set up to start automatically when the
computer
> restarts. If you then run a program or a command-line utility that
issues
> a NET START MSSQLServer command, you will get this error.
> HTH
> Rick Sawtell
> MCT, MCSD, MCDBA
>
>
Friday, February 24, 2012
Error "System.NullReferenceException" on Update
I am getting this error "System.NullReferenceException: Object reference not set to an instance of an object." when i try to run the update query as in my following code.
When the new record condition is true then the code runs absolutely fine and inserts a new record to the database. However, when it goes in the edit mode to update the record it gives an error at '## ERROR POINT FOR THE UPDATE QUERY'. Why is this happening. i have attached the portion of my code below for refernce. Can someone please help me with this? Where am i going wrong. Seems like update query has a problem.
'-------------------------------
If mode = "edit" Then
insertSql = "update [Customer Info] set [Company Name]=@.CompanyName, [Business Type]=@.BusinessSector, [Address Line 1]=@.AddressLine1, [Address Line 2]=@.AddressLine2, [Address Line 3] = @.AddressLine3, [Town] = @.Town, [County]= @.County, [Post Code]=@.PostCode, [Country]=@.Country, [Telephone]=@.Telephone, [Fax]=@.Fax, [Email Address]=@.Email, [Contact Person]=@.ContactPerson, [Job Title]=@.JobTitle, [Website Address]=@.WebsiteAddress Where [Customer ID] = " & Request.QueryString("custid")
else
insertSql = "insert into [Customer Info] ([Customer ID], [Company Name], [Business Type], [Address Line 1], [Address Line 2], [Address Line 3], [Town], [County], [Post Code], [Country], [Telephone], [Fax], [Email Address], [Contact Person], [Job Title],[Website Address])"
insertSql = insertSql & " values (@.CustomerIDSq, @.CompanyName, @.BusinessSector, @.AddressLine1, @.AddressLine2, @.AddressLine3, @.Town, @.County, @.PostCode, @.Country, @.Telephone, @.Fax, @.Email, @.ContactPerson, @.JobTitle, @.WebsiteAddress)"
end if
objConn.open()
objCommand.CommandText = insertSql '## ERROR POINT FOR THE UPDATE QUERY
objCommand.Connection = objConn
objCommand.Parameters.Add("@.CustomerIDSq", SqlDbType.Int).Value = CustomerID
objCommand.Parameters.Add("@.CompanyName", SqlDbType.VarChar).Value = Trim(txtCompanyName.Text)
objCommand.Parameters.Add("@.BusinessSector", SqlDbType.Int).Value = BusinessSector
objCommand.Parameters.Add("@.AddressLine1", SqlDbType.VarChar).Value = Trim(txtAddressLine1.Text)
objCommand.Parameters.Add("@.AddressLine2", SqlDbType.VarChar).Value = Trim(txtAddressLine2.Text)
objCommand.Parameters.Add("@.AddressLine3", SqlDbType.VarChar).Value = Trim(txtAddressLine3.Text)
objCommand.Parameters.Add("@.Town", SqlDbType.VarChar).Value = Trim(txtTown.Text)
objCommand.Parameters.Add("@.County", SqlDbType.VarChar).Value = Trim(txtCounty.Text)
objCommand.Parameters.Add("@.PostCode", SqlDbType.VarChar).Value = Trim(txtPostCode.Text)
objCommand.Parameters.Add("@.Country", SqlDbType.VarChar).Value = Trim(txtCountry.Text)
objCommand.Parameters.Add("@.Telephone", SqlDbType.VarChar).Value = Trim(txtTelephone.Text)
objCommand.Parameters.Add("@.Fax", SqlDbType.VarChar).Value = Trim(txtFax.Text)
objCommand.Parameters.Add("@.Email", SqlDbType.VarChar).Value = Trim(txtEmail.Text)
objCommand.Parameters.Add("@.ContactPerson", SqlDbType.VarChar).Value = Trim(txtContactPerson.Text)
objCommand.Parameters.Add("@.JobTitle", SqlDbType.VarChar).Value = Trim(txtJobTitle.Text)
objCommand.Parameters.Add("@.WebsiteAddress", SqlDbType.VarChar).Value = Trim(txtWebsiteAddress.Text)
objCommand.executeNonQuery()
objConn.close()
'-------------------------------
Thanks,
SimShow us where you instantiate (new) the objCommand. That is likely the problem.|||Yea, that was the problem. i was not instantiating the command object. Now i did it and it is running very fine.
Thanks You very much, how these small things gets me.. i dunno.. :o.
Sim
Friday, February 17, 2012
Error
Server Error in '/Reports' Application.
----
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an
object.]
Microsoft.ReportingServices.UI.GlobalApp.Application_AuthenticateRequest(Object
sender, EventArgs e) +58
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +64
Any idea?
ThanksOn Aug 12, 8:20 pm, "markgoldin" <markgoldin_2...@.yahoo.com> wrote:
> I am getting this error trying accessing RM page.
> Server Error in '/Reports' Application.
> ----
> Object reference not set to an instance of an object.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
> Exception Details: System.NullReferenceException: Object reference not set
> to an instance of an object.
> Source Error:
> An unhandled exception was generated during the execution of the current web
> request. Information regarding the origin and location of the exception can
> be identified using the exception stack trace below.
> Stack Trace:
> [NullReferenceException: Object reference not set to an instance of an
> object.]
> Microsoft.ReportingServices.UI.GlobalApp.Application_AuthenticateRequest(Object
> sender, EventArgs e) +58
> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
> +92
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously) +64
> Any idea?
> Thanks
This looks like a dual post. Here was my response for that one.
You should try looking in the SSRS logs to see if it gives you any
descriptive information (normally located in: C:\Program Files
\Microsoft SQL Server\MSSQL.2\Reporting Services\LogFiles ). If you
cannot resolve the issue by looking at the logs, you should look into
reinstalling SSRS. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant