URGENT-&>conection Problem Between App. Server - Data Base

Feb 18, 2004

I need solve this problem. I have this software running at 2 locations (1 and 2)





- the 1) got a app server and the data base, in the same computer;


- the 2) got a app server, acessing the data base of the 1)


- the conection between the two is all right, like a local network, by air.


- at 1) it runs all right, but the 2), when have to acess the data base (at 1), the conection becames too





slowwwwwwww.... impossible to work





Somebody acess data base via internet, or acess a data base that stay phisically away from the app server ??


Could it be a data trasmisson protocol problem ???





sorry the language errors ... thats the best i can :) hehe





thank you , since now





Júlio

View 4 Replies


ADVERTISEMENT

SQL Server 2000 - Conection Could Be Not Be Established

Feb 6, 2006

When trying to connect to my SQL Server I'm getting the following error:

******************************************

A connection could not be established to (local).

Reason: Logon failed for user.

Please vertify SQL Server is running and check your SQL Server registration properties (by right-clicking on the (local) node) and try again.

******************************************

SQL Server is definately running, but I'm unable to connect.

I've tried changing the ODBC settings but I can't get past the "MIcrosoft SQL Server DNS Configuration" window. I choose "With Windows NT authentication using the network lognin ID" and click "Conect to SQL Server to obtain default setting for the additional congiruation options" and click "Next" but I get stopped by the following error:

connection failed:
SQLState: '28000'
SQL Server Error: 18456
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user machine1Administrator'

Does anyone have any ideas on what I need to do to fix this? If it helps, this all seems to have started occuring since I changed the Administrator password

View 4 Replies View Related

Access Data Base To SQL Server Managment

Dec 15, 2006

Hi all,

I have a data base made in MS access and i wanted to know if it is possible to import it into MS SQL server management. If it is possible could somebody write an example, from which i can learn how do i do that?

Thank you for your time and help
Best regards,
BoSCHoW.

bOSTJAN

View 5 Replies View Related

Connecting To Data Base In Sql Server 2000 - ActiveX Script Of A SQL Job

Jan 21, 2008

Hi All,

I' m trying to execute activeX script from a job. I could do it successfully. But when i tried to access data base the job is failed when running.


My Requirement : I would like to send a mail in a scheduled base using a job and activeX script.



I could send a mail giving static parameters. But as i need to make the parameter values of activeX script dynamic, i tried to connect data base and retrieve the required data as shown below.
When i parse the script it showed success.But this is failing when it is running.

while creating a job i had selected ActiveX script option with vbscript language
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Set con = Server.CreateObject("ADODB.Connection")
con.Open "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;password=welcome;Initial Catalog=MyDatabase;Data Source=(local); "
Set rs = Server.CreateObject("ADODB.Recordset")
Set rs = con.execute("select fromid,toid,seqid from MailsLog where status='N'")
while rs.eof <> true
con.execute ("update MailsLog set status='Y' where seqid = " & rs("seqid"))
wend
set rs = nothing
set con = nothing

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////



Could any one please help me in this regard, of accessing activeX script with connecting to data base.

I' ll be so kind of any immediate response.
Thanking You

Ganesh

View 1 Replies View Related

Data Base Mirroring In SQL Server 2005 Express Edition

Jan 16, 2007

HI,

Does SQL server 2005 Express Edition or

Does SQL server 2005 Express Edition Sp1 supports Data base Mirroring?

View 3 Replies View Related

How To Delete A Record In The Data Base Using Linq(sql Server 2005 Express Edition Database)

Feb 24, 2008

following is the code which i am trying to use
it throws an error and dosent work. 
error details:
Unable to cast object of type 'System.Data.Linq.DataQuery`1[tbl_temp_bank]' to type 'tbl_temp_bank'.
 source code(aspx.vb file)
 Dim c As New temp_business_bankDataContextDim tag = From t In c.tbl_temp_banks Where t.TIN = Convert.ToInt32(tin.Text) Select t
c.tbl_temp_banks.DeleteOnSubmit(tag)
c.SubmitChanges()
 
please can some one help me with this.thanks

View 9 Replies View Related

How Can I Manage Database On Lan Base[network Base]software

Jul 20, 2005

himy self avicurrently i am developing one application in vb 6 and back end assqlserver 7 which is used on lan.i have some problem. like in my database i have one table salesvoucherwhich has 'voucherno' field. when 2-3 user will work on salesform at atime [since the softwrae will run on lan] then the same voucherno willsave for all users data which is wrong i need to save different vouchernofor each no. is there any way in sqlserver to apply some condition ondatabase or to set some its property[tables] so that at a time only oneusers data will save depend on firstcome first serve base or is there anyway to make changes in programme.plz help me regarding this i need it very badly.since its my first lan based software plz give me some books nameregarding this software for vb6 and sqlserver7

View 2 Replies View Related

Transfer Data From An Excel Sheet To Table In Sql Data Base

Nov 15, 2006

I have an excel sheet that contain colummns as in a table in a sql database i want to transfer this data from the sheet to the table frombusiness logic code layer not from the enterprise manager by wizardwhat can i do?? ...please urgent

View 1 Replies View Related

For New In SSIS. To Send Data From Operational D/base To Data Warehouse

Oct 6, 2006

Hi Dear All!

I am Crystal Reports Developer and I am new in SSIS environment. I have started to read Professional SQL Server 2005 IS book. I am really confused by many tasks to choose.

I need to develop reports from data warehouse. But before I have to send the data from operational database (SQL Server 2000) to warehouse (SQL Server 2005) monthly - I have a script for retrieving the data. For my package, I chose Data Flow Task, Execute SQL Task, and OLE DB Destination, and it does not work.

Please help me if I can look similar packages performing?
Thank you!!

View 5 Replies View Related

Loading Data Froma A Text File To SQL Data Base

Sep 10, 2007

Hello!! searching information about how to migrate some date from an old data base (any tipe) from SQL I´v found this:
LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name.txt'
[REPLACE | IGNORE]
INTO TABLE tbl_name
[FIELDS
[TERMINATED BY 'string']
[[OPTIONALLY] ENCLOSED BY 'char']
[ESCAPED BY 'char' ]
]
[LINES
[STARTING BY 'string']
[TERMINATED BY 'string']
]
[IGNORE number LINES]
[(col_name_or_user_var,...)]
[SET col_name = expr,...)]
Does anybody know how does it works and how to use it????I´d like to know because I have to load data from a text file to a SQL Data Base and this seems to be te fastest an easiest way to do it...Thanks!!!!bye!

View 1 Replies View Related

DTS-Conection With Sybase 12.5

Sep 3, 2004

Good day.I have dts running every 10 minutes in a server of slqserver 2000 who is in a country and that it sends data to another country which has a data base sybase12.5.The problem is when by reasons for the WAN the connection fails from a country to another one the dts or job fails executing its processes and I must soon give click to stop and start so that it continues. That I can do so that when the connection is lost and i need to dts reconected automatically and is continued its processing?
thanks and sorry my english :)

View 1 Replies View Related

Who Can Help Me With Conection Over Internet?

Jan 11, 2006

Hi,
Now I really need you help. I have an application that needs to conect to a server
over the internet and I have change the MSQL port to 2015 cos the server even with a
firewall it has been attempt to be hacked. So I needed to change the port but my application
cannot conect to the server if I change it. If I left in the firewall 1433 and SQL it works fine
but once I change it to 2015 it doesn´t work.


I´m using ADO conection as folow:

Variables string parameters:
01=password
02=user
03=database
04=server IP adress

"Provider=SQLOLEDB.1;Password='+01+';Persist Security Info=True;User ID='+02+';Initial Catalog='+03+';Data Source='+04;"

Using this conection string I can conect to the server using 1433 port but if I change the port I get the folow message:

"[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied."

I´d try to add the new port number to IP adress but it doesn´t work as (200.121.65.140:2015) and it return the folow message:

[DBNETLIB][ConnectionOpen (ParseConnectParams()).]Invalid connection.

What I need to know or to do? Please somebody help me cos I don´t know more what to do and my superiors need awnsers.
Thanks for attetion.

Leonardo Almeida.

View 3 Replies View Related

Update Data From Text Files To A Data Base?

Mar 10, 2008

i am really in need of help. i have a text file consiting of some data.i want to update my database from that text file periodically say 12 hours.the text file is being updated by another server program in every 12 hours can any one help me in this case? i am lost for this scenario?? help me please.....

View 1 Replies View Related

Modify String Data Base On Data In The Table

Jun 17, 2004

I need to get rid of the first char of data in a field f1 (in sql server)

I tried to use:

update myTable
set f1= substring(f1,1,f1.Len -1)

and get error "The column prefix 'f1' does not match with a table name or alias name used in the query.

Could anyone help? Thanks.

View 2 Replies View Related

ODBC Conection Problem

May 16, 2008

Hi,

I am trying to connect some users to the server using ODBC.
But when I do that I get an error that the user is not asociated as a concexcion of confidence of SQL Server.
From my PC it works fine as I am the administrator.

Where do I have to change it?

Thx

Johny

View 7 Replies View Related

Loose ODBC Conection

Dec 20, 2007

I am very new to all thisI have a access databse wich uses a ODBC conection to mysql server. Ican open the and run the database find but if i leave the dadabaseloaded but do not use it when i go back to it is has lost theconection and i need to close the databse and reopen itIf there a way to make sure i alwasy have a coenctionThanks

View 1 Replies View Related

New Data Base

Aug 18, 2007

I am using MS visual web developer and i get a lot of things but one
thing i do not get is why is it when i set up the web.config to a data
base i made on my own and run the website and create an account it
creates a new data base and creates that new account in that new
database, i've never opened the web admin tools.   <connectionString>   
<add name="LoginConnection" connectionString="Data
Source=.SQLEXPRESS;AttachDbFilename=&quot;C:Visual Studio
2005WebSitesWebSite1App_DataYourEstate.mdf;Integrated
Security=True;Connect Timeout=30;User Instance=True"      providerName="System.Data.SqlClient" />  </connectionStrings>    

View 1 Replies View Related

Data Warehouse And A Data Base? Difference?

Jun 19, 2007

I need someone to give me a small briefieng on how a enterprise data warehouse (EDW)differs from a regular database?
Currently we have an appplication that accesses a database with about 18 tables. We also have a Data Warehouse. For some reason I was thinking that it would be possibly to migrate thedatabase into the data warehouse. The reason is that in looking at the schematic design forthe data warehouse there are some data tables that could also be used by our application that uses the DB.
I guess I am confused because I am not sure if a data warehouse is used in the same wayas a database?

View 2 Replies View Related

Login And Sql Data Base

Jul 19, 2006

I make my login account data base using the Web Site Administration Tool in the solution explorer i then debug it on my computer  and it works fine i can login  then i upload my site and  sql data base to server and it no longer works i just get this message what do i do can i change the Web Site Administration Tool so that it uses a access data base by default for login instead of sql.Server Error in '/KRAZYJON' Application.

Failed
to generate a user instance of SQL Server due to afailure in starting
the process for the user instance. The connection will be closed.



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.

SQLExpress database file auto-creation error:The
connection string specifies a local Sql Server Express instance using a
database location within the applications App_Data directory. The
provider attempted to automatically create the application services
database because the provider determined that the database does not
exist. The following configuration requirements are necessary to
successfully check for existence of the application services database
and automatically create the application services database:
If
the applications App_Data directory does not already exist, the web
server account must have read and write access to the applications
directory. This is necessary because the web server account will
automatically create the App_Data directory if it does not already
exist.
If the applications App_Data directory already exists, the web
server account only requires read and write access to the applications
App_Data directory. This is necessary because the web server account
will attempt to verify that the Sql Server Express database already
exists within the applications App_Data directory. Revoking read access
on the App_Data directory from the web server account will prevent the
provider from correctly determining if the Sql Server Express database
already exists. This will cause an error when the provider attempts to
create a duplicate of an already existing database. Write access is
required because the web server accounts credentials are used when
creating the new database.
Sql Server Express must be installed on the machine.
The process identity for the web server account must have a local
user profile. See the readme document for details on how to create a
local user profile for both machine and domain accounts.

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:


[SqlException (0x80131904): Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735043 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +33 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +628 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +130 System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 System.Web.Management.SqlServices.GetSqlConnection(String server, String user, String password, Boolean trusted, String connectionString) +68[HttpException (0x80004005): Unable to connect to SQL Server database.] System.Web.Management.SqlServices.GetSqlConnection(String server, String user, String password, Boolean trusted, String connectionString) +124 System.Web.Management.SqlServices.SetupApplicationServices(String server, String user, String password, Boolean trusted, String connectionString, String database, String dbFileName, SqlFeatures features, Boolean install) +86 System.Web.Management.SqlServices.Install(String database, String dbFileName, String connectionString) +25 System.Web.DataAccess.SqlConnectionHelper.CreateMdfFile(String fullFileName, String dataDir, String connectionString) +397

View 1 Replies View Related

Data Base Connectivity

Mar 12, 2008

hi Sir,
 I want to know how to connect the Databse to ASP.Net code with c# with MSSQL servers.

View 2 Replies View Related

Data Base Design-need Help

May 8, 2008

Hello friends,
i would like to create an e-commerce website,for selling music,video,games and books, i also want    to extend its functionality to electronic products also.
the problem is ,music,books,videos  and electronic goods will have different properties like author,music director,company,ISBN number,..etc,i am very confused about data base design,want to add sub categories also like light music,classical,history books,technical books etc...can anyone give suggestions?  

View 4 Replies View Related

How To Connect Data Base In Sql

Nov 24, 2005

Hi

I have a problem with my data base.
when i run my project (ASP.NET)  in Vs 2005 my data base work.
but i run in localhost isn´t work.
my data base as a .mdf(sql server)
Can help-me ???

View 3 Replies View Related

Data Base Administrator

Oct 26, 2005

hello
any one could tell me about database administrator.
i want to connect oracle management server for import database of sql server 2000, i new the its
user : sysman
and also its password.
it is connected first time and i change its password
now i am trying to connect it but a msg is prompt

"VTK-1000 : Unable to connect to the management server (server name). please verify that you have entered the correct host name and the status of the oracle management server"

plz tell me as soon as possible......
i will be thanks for all....

View 1 Replies View Related

Data Base Deployment

Nov 7, 2005

We have a client with our data base, but this database is undergoing constant changes since the development has not been finished, for that reason whenever we made an update we must synchronize the data base. I wondering if exists a tool in which setup can be created and updates the data base in SQL.

View 1 Replies View Related

Importing Data Base

Aug 21, 2001

Hello.

I want to transfer (Export or Import) my Database TEST1 to TEST2.
To do so I execute the following steps :
- Create an empty Database TEST2
- Create A login TEST2USR which will be the owner of the objests in TEST2

But the owner of the User Objects in TEST1 is TEST1USR
How can i transfer my objects using (Import/Export Utility) from TEST1 to TEST2 changing the owner (From TEST1USR to TEST2USR).

View 1 Replies View Related

Copy Data Base ...

Aug 23, 2005

hi
i want copy Data base fron 2 sql server2000 in the same network. so i want copy all object(table,users,diagrams,....)

View 1 Replies View Related

Detach Data Base

May 11, 2005

hi i want to save evrey mounth the data base files. so i will use DTS to detch base ?
then if i detch it i can cotinu using it ?
thanks

View 1 Replies View Related

Data Base Size

Sep 30, 2005

So which is the biggest database you have worked with ?

View 8 Replies View Related

Maintain A Sql Data Base

Aug 15, 2005

Sebastian Garibaldi writes "Hi I'm Sebastian from Argentina, and i have a problem with a SQL data base. I receive error from data base of broken index and consistency errors. I set the fill factor with the information from the books online, i put 70 in tables that have a lot of INSERT/UPDATE/DELETE but it works for two o tree days.

I now that i must make some maintain in the database but which tools i shuld use?

here i paste an error from dbcc checktable:


Server: Msg 8964, Level 16, State 1, Line 1
Table error: Object ID 981108969. The text, ntext, or image node at page (1:949979), slot 52, text ID 57535781339136 is not referenced.
Server: Msg 8964, Level 16, State 1, Line 1
Table error: Object ID 981108969. The text, ntext, or image node at page (1:949979), slot 53, text ID 57535782191104 is not referenced.
DBCC results for 'FCRMVI'.
There are 108460 rows in 17430 pages for object 'FCRMVI'.
CHECKTABLE found 0 allocation errors and 2 consistency errors in table 'FCRMVI' (object ID 981108969).
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKTABLE (ArleiProd.dbo.FCRMVI ).



thanks, and sorry my english."

View 1 Replies View Related

Triggers For Different Data Base

Jan 24, 2007

Vipin writes "Hello

Can it be possible that triggers can be fired to affect tables lying in different database.

Database may be on same Machine or may be on different machine.

Explain with Example"

View 2 Replies View Related

Data Base Encodings

Jun 21, 2007

Hi,I am looking to check and set the encoding of the database using sqlcommands that work both for SQL-Server and JET.something equivalent to the postgreSQL commands:'SHOW server_encoding'Thanks in advance,Maarten

View 1 Replies View Related

Data Base Diagrams ...

Jun 19, 2007

Hi,

I am relatively new to SQL 2005.
How do I create the Data Base diagrams of my existing data base in SQL 2005 ?

Thanks,
Abhijit Sinha

View 4 Replies View Related

Need Help In Data Base Design

Apr 5, 2007



Hello friends,I have to design a database for banking application,but it is my first db design so i need some expert advice.

Data base has some performance constraint i.e high output ,minimum query time,need to process 2 to 5 million transaction per day.

Further specification can be revealed if appropriate help is provided.

your advice will be of great help for me.

Thx

View 4 Replies View Related







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