Click here to Skip to main content
16,007,885 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to read a word under mouse cursor? Pin
RABEE SHAHEEN6-Mar-05 23:40
RABEE SHAHEEN6-Mar-05 23:40 
AnswerRe: How to read a word under mouse cursor? Pin
Dave Kreskowiak7-Mar-05 7:17
mveDave Kreskowiak7-Mar-05 7:17 
QuestionBitMap & Graphics, please HELP!? Pin
Acheto6-Mar-05 23:28
Acheto6-Mar-05 23:28 
Answerplease HELP!? Pin
Acheto8-Mar-05 8:02
Acheto8-Mar-05 8:02 
GeneralIs a Question like this Thread too BAD for this Forum? Pin
Acheto10-Mar-05 0:21
Acheto10-Mar-05 0:21 
GeneralTimetable scheduling algorithms Pin
Member 45821056-Mar-05 23:21
Member 45821056-Mar-05 23:21 
GeneralRe: Timetable scheduling algorithms Pin
Dave Kreskowiak7-Mar-05 1:12
mveDave Kreskowiak7-Mar-05 1:12 
GeneralProblem referencing COM+'s Web services via VS.NET Pin
twlong6-Mar-05 21:10
twlong6-Mar-05 21:10 
Hi there,

I am having a problem (sure-stopper) referencing a web service method exposed via COM+ 1.5 default SOAP service from VS.NET 2003 project IF either the return or byref parameters of the method contains DATASET type.

The error returned when referencing via vs.net 2003's Add WebReference is:-
-------------------------------------------------
d:\ComPlusWs\Tester\Web References\Goober\Reference.map(1): Custom tool error: Unable to import WebService/Schema. Unable to import binding 'Class1Binding' from namespace 'http://schemas.microsoft.com/clr/nsassem/ComPlusWs/ComPlusWs%2C%20Version%3D1.0.1890.25047%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db416c1d7cba26960'. Unable to import operation 'HelloWorld'. The datatype 'DataSet' is missing.
-------------------------------------------------

I am using VS.NET 2003 via VB.NET, i have tried on both Windows XP SP2 and windows 2003 server.


To re-generate the problem:-

1. create a vs.net 2003 library project called TestLibrary

2. Reference System.EnterpriseServices Imports System.EnterpriseServices. Inherits ServicedComponent for the class. Create a public function with at least one byref parameter or return value as DataSet.

3. Sign the project with Strong-Key

4. build the project and make sure it's successful.

5. Fire up vs.net cmd prompt, go to project's BIN directory

6. TYPE "gacutil /i testlibrary.dll" ENTER

7. TYPE "regsvcs testlibrary.dll" ENTER

8. Fire up Component Services

9. Fire up the property page of TestLibrary

10. go to Activation Tab, check "Server's Application", check "Run Application as NT Service"

11. Check "Uses Soap", provide a name for the virtual directory to host the Web Services (eg. MyTestVD, will then appear as http://localhost/MyTestVD). Disable security checking if u have problem

12. Save and applied all settings.

13. Now, create a vs.net 2003 Windows Application project as a Caller for the Web Service.

14. add web reference by pointing to the address http://localhost/MyTestVD/default.aspx

15. then click on the link appear on the page found by "Add Web Reference" page.

16. once u see the address is suffixed with ?WSDL, you may then add the reference to the project.

17. Similar ERROR as described above will appear.

Why does it behave this way? i suspect the WSDL engine used by COM+ 1.5 is different from the one incorporated by VS.NET 2003? Please kindly suggest the turn around for this problem. Thanks!!!


Best Regards,
Derek Tan
GeneralSnap-ins and Windows Service Pin
CSharpBala6-Mar-05 19:15
CSharpBala6-Mar-05 19:15 
QuestionRelation between Webrowser control and IE (or FireFox or Opera) ? Pin
mecracked6-Mar-05 18:57
sussmecracked6-Mar-05 18:57 
GeneralDisplaying which month of the year Pin
cpod6-Mar-05 18:28
cpod6-Mar-05 18:28 
GeneralRe: Displaying which month of the year Pin
Robert Rohde6-Mar-05 20:23
Robert Rohde6-Mar-05 20:23 
GeneralRe: Displaying which month of the year Pin
cpod7-Mar-05 4:03
cpod7-Mar-05 4:03 
GeneralDeploy VB.Net App w/Crystal Rpts Pin
jtex6-Mar-05 15:52
jtex6-Mar-05 15:52 
GeneralRPC Server Unavailable Pin
MagicGirL836-Mar-05 13:02
MagicGirL836-Mar-05 13:02 
GeneralRe: RPC Server Unavailable Pin
Robert Rohde6-Mar-05 20:27
Robert Rohde6-Mar-05 20:27 
GeneralRe: RPC Server Unavailable Pin
Dave Kreskowiak7-Mar-05 1:07
mveDave Kreskowiak7-Mar-05 1:07 
Questionvb6 cursor direction problem? Pin
a_yosef6-Mar-05 0:23
a_yosef6-Mar-05 0:23 
GeneralPrinter Setting In VB Or C#.Net Pin
| Muhammad Waqas Butt |5-Mar-05 23:09
professional| Muhammad Waqas Butt |5-Mar-05 23:09 
GeneralUsning Datagrid in vb.net Pin
Mr Dabbah5-Mar-05 21:59
Mr Dabbah5-Mar-05 21:59 
Generalcombo box Pin
cds.toecuter5-Mar-05 19:29
cds.toecuter5-Mar-05 19:29 
GeneralRe: combo box Pin
rwestgraham5-Mar-05 21:01
rwestgraham5-Mar-05 21:01 
GeneralBinary trouble Pin
Christopher Schaefer5-Mar-05 11:27
Christopher Schaefer5-Mar-05 11:27 
GeneralRe: Binary trouble Pin
Dave Kreskowiak5-Mar-05 17:15
mveDave Kreskowiak5-Mar-05 17:15 
Generalvb.net script to delete contence of temp internet folder Pin
chris89625-Mar-05 1:44
chris89625-Mar-05 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.