News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
Name:Alex Dybenko

Location:Moscow, Russia

Friday, August 03, 2007

ViewONE, ASP.NET and authorization

This is not an Access related post, but hopefully would be helpful for somebody. I have built an ASP.NET application with ViewONE java image viewer, which supports annotations – user can add arrows, lines, comment on image and save this, in separate file or database. And one day these annotations stopped working, viewer showed java error "Annotation data is not in the required format", while format was certainly correct. This error occurred in IE7, while in IE6 worked fine. The problem was (I guess) that ASP.NET adds some authorization info to annotations file, and viewer interprets this incorrectly. So the trick is to turn off authorization for such annotation file in web.config:

<location path="AnnOpen.aspx">



<allow users="*,?" />




Technorati tags: , , ,


Post a Comment

<< Home