Selamlar
Datasnap kullandığımız bir projede terminalden bağlanmaya çalıştığımızda erişim engellendi hatası alıyoruz. Lokalde sorunsuz çalışıyor. Com için registry ve yetkilendirme ayarları yapıldı. Delphi7 ve MSSQL/Access (MSSQL'den mi kaynaklanıyor düşüncesiyle Access'le de denedik) şeklinde bir organizasyonumuz var. Birden fazla makinede sunucu olarak Windows 7 ve XP ile test ettik mümkünü yok kabul etmiyor. Sebebi hikmeti ne ola?
Datasnap erişim engellendi sorunsalı
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
-
- Kıdemli Üye
- Mesajlar: 1223
- Kayıt: 26 Nis 2005 04:08
Re: Datasnap erişim engellendi sorunsalı
Bende de benzer bir sorun var. D2010 ve firebird kullanndım. Local , programı yazdığım makinada sorunsuz çalışan client diğer makinalara uygulayınca önce erişim engellendi mesajı veriyordu. sonra dbxint.Dll dosyası aramaya başladı. onu biryerlerden bulup indrdim ama beğenmedi. Bakalım ne yapacağız
- sadettinpolat
- Moderator
- Mesajlar: 2131
- Kayıt: 07 Ara 2003 02:51
- Konum: Ankara
- İletişim:
Re: Datasnap erişim engellendi sorunsalı
Belki cevabi bu dosyalarda vardir...
(1) DataSnap XE - Simple Calculator Service:
Step-by-step tutorial for building a simple calculator service and client application using Delphi XE and DataSnap.
* whitepaper
http://edn.embarcadero.com/article/41176
* source code
http://cc.embarcadero.com/Item/28184
* video
http://www.youtube.com/watch?v=Qm__RdmIWSg
(2) DataSnap XE - Multitier Database Application:
Steps for using Delphi XE for building a DataSnap XE multitier database application for read and write access to "Employee" information in the InterBase XE sample database. The server and clients applications are built from scratch in 10 minutes with Delphi components and just 2 lines of Delphi code.
* whitepaper
http://edn.embarcadero.com/article/41189
* source code
http://cc.embarcadero.com/item/28188
* video
http://www.youtube.com/watch?v=B4uxLLIUddg
(3) Delphi Labs: New "Server Methods Lifecycle"
In the first part of this lab Delphi XE used to build a DataSnap VCL Forms app server and client application. The server method instance has overridden constructor where its private FID is initialized with a generated GUID and "GetId" server method is implemented to be able to uniquely identify a server methods instance on the client. The client app has a button and a label where the value of server method instance ID is displayed. At the end we see that with default DSServerClass.LifeCycle value of "Session" every connected client has its own server methods instance inside the server application.
DataSnap XE - Server Methods Lifecycle (Part 1/2)
http://www.youtube.com/watch?v=VI_o6bwIfkM
In the second part of the lifecycle demo we are extending both server and client applications. In the server we are adding two new TDSServerClass components with other possible values for lifecycle: server and invocation. Implementations of all three server classes are identical and they provide "GetID" server method that returns an instance GUID value and let us identify instances inside the server. The client interface is extended and DataSnap proxies are regenerated. At the end of the demo we verify that server method instances are global to all clients, session instances are unique per client and invocation instances created and destroyed on the fly.
DataSnap XE - Server Methods Lifecycle (Part 2/2)
http://www.youtube.com/watch?v=XcLOm-v7Ing
Whitepaper:
http://edn.embarcadero.com/article/41289
Source Code:
http://cc.embarcadero.com/Download.aspx?id=28199
(4) Delphi Labs: Testing DataSnap servers in Data Explorer
The beauty of rapid application development is that you can build complex systems by assembling components. This approach to building software applications shines when applied to Delphi DataSnap programming. In a matter of minutes you can create a multithreaded server application, capable of servicing many concurrent clients and listening on multiple communication ports simultaneously.
In the article I’m using Delphi XE to build a DataSnap standalone server listening on multiple TCP/IP and HTTP ports. Instead of building a client for it, I have just tested its functionality in Data Explorer that is part of the RAD Studio IDE.
This step-by-step tutorial is intentionally very simple, so even not experienced Delphi programmers should be able to build projects described here. The objective of this lab exercise is to understand the architecture of DataSnap servers with multiple transport components and learn how to use “Data Explorer” for testing server instances using multiple possible ways of communicating with the server.
“Testing Servers in Data Explorer” demo project consists of a server DataSnap VCL Forms application that is listening on TCP/IP ports 211 and 212 and on the HTTP port 8080.
Video
http://www.youtube.com/watch?v=KbRjTb8NHQ8
Whitepaper
http://edn.embarcadero.com/article/41226
Source Code
http://cc.embarcadero.com/item/28213
(1) DataSnap XE - Simple Calculator Service:
Step-by-step tutorial for building a simple calculator service and client application using Delphi XE and DataSnap.
* whitepaper
http://edn.embarcadero.com/article/41176
* source code
http://cc.embarcadero.com/Item/28184
* video
http://www.youtube.com/watch?v=Qm__RdmIWSg
(2) DataSnap XE - Multitier Database Application:
Steps for using Delphi XE for building a DataSnap XE multitier database application for read and write access to "Employee" information in the InterBase XE sample database. The server and clients applications are built from scratch in 10 minutes with Delphi components and just 2 lines of Delphi code.
* whitepaper
http://edn.embarcadero.com/article/41189
* source code
http://cc.embarcadero.com/item/28188
* video
http://www.youtube.com/watch?v=B4uxLLIUddg
(3) Delphi Labs: New "Server Methods Lifecycle"
In the first part of this lab Delphi XE used to build a DataSnap VCL Forms app server and client application. The server method instance has overridden constructor where its private FID is initialized with a generated GUID and "GetId" server method is implemented to be able to uniquely identify a server methods instance on the client. The client app has a button and a label where the value of server method instance ID is displayed. At the end we see that with default DSServerClass.LifeCycle value of "Session" every connected client has its own server methods instance inside the server application.
DataSnap XE - Server Methods Lifecycle (Part 1/2)
http://www.youtube.com/watch?v=VI_o6bwIfkM
In the second part of the lifecycle demo we are extending both server and client applications. In the server we are adding two new TDSServerClass components with other possible values for lifecycle: server and invocation. Implementations of all three server classes are identical and they provide "GetID" server method that returns an instance GUID value and let us identify instances inside the server. The client interface is extended and DataSnap proxies are regenerated. At the end of the demo we verify that server method instances are global to all clients, session instances are unique per client and invocation instances created and destroyed on the fly.
DataSnap XE - Server Methods Lifecycle (Part 2/2)
http://www.youtube.com/watch?v=XcLOm-v7Ing
Whitepaper:
http://edn.embarcadero.com/article/41289
Source Code:
http://cc.embarcadero.com/Download.aspx?id=28199
(4) Delphi Labs: Testing DataSnap servers in Data Explorer
The beauty of rapid application development is that you can build complex systems by assembling components. This approach to building software applications shines when applied to Delphi DataSnap programming. In a matter of minutes you can create a multithreaded server application, capable of servicing many concurrent clients and listening on multiple communication ports simultaneously.
In the article I’m using Delphi XE to build a DataSnap standalone server listening on multiple TCP/IP and HTTP ports. Instead of building a client for it, I have just tested its functionality in Data Explorer that is part of the RAD Studio IDE.
This step-by-step tutorial is intentionally very simple, so even not experienced Delphi programmers should be able to build projects described here. The objective of this lab exercise is to understand the architecture of DataSnap servers with multiple transport components and learn how to use “Data Explorer” for testing server instances using multiple possible ways of communicating with the server.
“Testing Servers in Data Explorer” demo project consists of a server DataSnap VCL Forms application that is listening on TCP/IP ports 211 and 212 and on the HTTP port 8080.
Video
http://www.youtube.com/watch?v=KbRjTb8NHQ8
Whitepaper
http://edn.embarcadero.com/article/41226
Source Code
http://cc.embarcadero.com/item/28213