I am having an interesting problem with an application on Windows 2000 Server with Service Pack 4. The problem started once the server was upgraded from SP1 to SP4. I have no problem with the application running in any other network environment. This server is using Terminal Server and the user is accessing via RDP, but there is the same problem running the application on the server. I have built a Windows 2000 server in my office and can reproduce the problem. I only get the error when specific jpg graphics files are accessed. The majority of the files load fine.
I get an error window that says:
Fatal Error Exception Code C0000005
Called from multipag.pageframe1.refresh line 9
My application has a image burried down on a pageframe on a pageframe. In the refresh event I have the following code that selects the jpg file that is used in the image.
m_look = m_dismodpath+ALLTRIM(Base.lcode)+'.jpg'
IF FILE('&m_look')
thisform.Pageframe1.Page1.Pageframe1.Page3.Image1.Picture = m_look
ELSE
m_look = m_disdefpath+ALLTRIM(Base.lcode)+'.jpg'
IF FILE('&m_look')
thisform.Pageframe1.Page1.Pageframe1.Page3.Image1.Picture = m_look
ELSE
thisform.Pageframe1.Page1.Pageframe1.Page3.Image1.Picture = m_disdefpath+'nopic.jpg'
ENDIF
ENDIF
The logic is looking to see if there is a graphic down in the 'display modified folder' If there is one, use it else look in the 'display default folder'. if there is one found then use it otherwise use a default graphic that says there was no graphic for this specific code. In this particular instance as in most instances there was no modified graphic but there was a default graphic.
I can use a jpg viewer and reach over to the server and load the jpeg just fine.