asp errors not displayed

前端 未结 7 1629
独厮守ぢ
独厮守ぢ 2021-01-21 12:31

I have moved an sql database from one server to a new one (detached/attached)

Now i experience some strange behavior as it does not work but NO error is displayed.

7条回答
  •  猫巷女王i
    2021-01-21 12:50

    Actually don't mean to be disagreeable, but yes you do need a Set there, as you are setting an object type and presumably wanting to use the return value at some point (if this wasn't just a test script which it looks like to me).

    Also btw parentheses are not really correct there in Response.Write() as it does not return a value. They only happen to work on single parameter subs because you can put parentheses anywhere you like around expressions.

    eg:

     a = (b)
     Response.Write ((("test"))&(1))
    

提交回复
热议问题