up again!
why not have answer?
help me god!

解决方案 »

  1.   

    I never played with PDA>>但是在hp2210上面一刷新页面就会出错。what errors? can you show the complete error messages?
    >>>如果连接的数量过多或者操作频繁的时候就会出现数据库锁定的信息,稍候重试。等等在访问就好连接的数量过多? how many concurrent connections? does your database (server) support that many connections? are you properly closing those connections when you are done with them?
      

  2.   

    1、错误时说状态视图无效。不管是使用文件状态试图还是ASP.NET默认的状态试图都会产生这种错误,在PC上没有错误,在其他的PDA上也没有,就是在hp2210上有这个错误,因为其他的使用的都是WCE2002只有hp2001使用的是WCE2003!不知是怎么回事?
    2、我使用OleDB连接Sybase数据库,错误是产生在两个或者多个用户同时插入数据的时候会出错,提示:数据库被死锁,请稍后再试。抛出一个异常。我现在是捕捉这个异常然后再写一个随机延时的函数,当延时时间一到这个插入的方法将会重新调用。不知道我的这种想法是否可行,在使用过程中还是不是很理想。因为在PB里面这种错误没有的,即使是两个同时插入也不会有问题,希望思归可以给我一个好的解决方案。谢谢!
      

  3.   

    1. 
    >>>状态视图无效not sure about WCE 2003, but try<%@ Page EnableViewStateMac="false" %>2. 
    >>>错误是产生在两个或者多个用户同时插入数据的时候会出错,提示:数据库被死锁,请稍后再试sounds more like your database server problem, what version of Sybase are using? what kind of indexing schema are you using?
      

  4.   

    我使用的是sybase11.3
    操作系统是unix5.05
    OLEDB的版本是:The Sybase ASE OLE DB provider can be thought of as an 揳dapter?from ADO/OLE DB applications to Sybase databases, version System 11 and Adaptive Server 11.5, 11.9.2, 12.0, and 12.5. With the Sybase ASE OLE DB provider (the 揝ybase data provider?, you can access data and perform complex SQL queries on data from Sybase database systems. 
    The Sybase ASE OLE DB provider can retrieve connection information from either a data source or from a Lightweight Directory Access Protocol (LDAP) directory.The Sybase data provider runs in the Windows environments.
    The Sybase data provider file name is sydaase.DLL. .NET框架是:1.1;
      

  5.   

    cuike519(Power_mj),我也在开发一个pda上的.net程序。我遇到的问题和你有些类似,我的程序在基于pocket pc 2003 的pda上运行正常,但到了pocket pc 2002 的pda 上运行确报错:状态视图破坏我想请教你关于‘文件保存Viewstate的方法’的问题,不知你能否帮帮小弟?小弟刚学,呵呵。
    我的qq号:228008091
    在此先谢了!!!
      

  6.   

    记得vs2003上面有个pda的模拟器,估计就是wince的操作系统,可以先把程序在模拟器上运行调试。
      

  7.   

    数据库锁定? In sql server , you can try  sp_lock to find what cause that I think there is dead lock in it
      

  8.   

    check DB its Isolation level
      

  9.   

    gOODiDEA(无语):
    是的,在PDA上是可以使用Viewstate但是PDA的内存很小不能有大量的ViewState!(我们使用的是文件保存State)关于数据库死锁的问题,我估计可能会是OLEDB和Sybase数据库之间的问题。但是直接使用PB就没有这种问题。(等OLEDB升级吧,现在使用的是捕捉这个错误提示用户稍后再试!)问题已经基本解决了!