Using User Defined Data Type Across

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Using User Defined Data Type Across

    hi! i have created a document class. I have a .net client application and a
    web service. Both of them using same object model and referencing a
    doctypes.dll file. But when i want to run a client application getting
    error InvalidCastException. I deleted class declaration in reference.vb in
    web reference defination and reference my document dll file, altough it is
    still has error... What is the problem..

    thanks....

    Serkan


    Serkan DIRIARIN Guest

  2. Similar Questions and Discussions

    1. Custom data type defined in a different project
      Hello, I am trying to create webservice that uses (the methods return) custom data types that are defined in a project different than the...
    2. index on user defined type
      I think I created a type that was compatible with the btree index, and everything seems fine, except that it doesn't actually use the index. I...
    3. Type 'DataGridPageChangedEventArgs' is not defined
      In my code-behind page I have this routine. What do I have to do for it to recognize DataGridPageChangedEventArgs? Sub PageIndexChanged(ByVal...
    4. How to pass a user defined type to a Webservice?
      "Henke" <henke_nord@hotmail.com> wrote in message news:uEJvMaqYDHA.2572@TK2MSFTNGP09.phx.gbl... Create your class in your chosen .Net language (or...
    5. Type 'ConnectionOptions' is not defined
      Hello. I´ve following Problem. I try to use WMI in an ASP.NET Site. But I get still this error: Server Error in '/ServerMon'...
  3. #2

    Default Re: Using User Defined Data Type Across

    What error do you get after deleting the class declaration in the proxy
    class generated?

    "Serkan DIRIARIN" <activex@superonline.com> wrote in message
    news:ex3lMw4cFHA.2420@TK2MSFTNGP15.phx.gbl...
    > hi! i have created a document class. I have a .net client application and
    > a
    > web service. Both of them using same object model and referencing a
    > doctypes.dll file. But when i want to run a client application getting
    > error InvalidCastException. I deleted class declaration in reference.vb in
    > web reference defination and reference my document dll file, altough it is
    > still has error... What is the problem..
    >
    > thanks....
    >
    > Serkan
    >
    >

    Francois Bonin [C# MVP] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139