Invalid export DLL - SIMPLY ACCOUNTING

G

Guest

This may be a silly question.

I have a windows 2003 server - I install simply accounting 2005 and email
invoices using either outlook express or eudora and everything works fine. I
install/transform 2003 into windows terminal services and when I try to email
I get the error of.

Error in File C:\Program Files\Simply\Forms\invoice.rpt:
Invalid export DLL or export format.

I have contacted Simply accounting and their stand is that the software is
not supported on windows 2003 and that I should contact Microsoft. I know
there is nothing wrong with the report file, but even if i change it to the
ones supplied by Simply it doesn't work. I can change the output file from
..pdf to .rtf as well with same outcome. User is Administrator on local server
so I have all proper priv's.

My question is that what is different in the handling of the mapi in
Terminal server? The only thing I can see different is the multiple instances
of the mapi file in the system dir. Is there a way to fool terminal server
into thinking that the mapi services are not in terminal server mode ? or
does someone have a work around for this error message.
 
T

TP

Did you install the application and then add Terminal Services?

You should install TS and then install each application while
in install mode. If you didn't do it this way then uninstall the
application(s) completely (including files, reg settings, etc.)
and then reinstall while in install mode.

If you are still having problems, go ahead and post back. I am
thinking that the program is looking for a report dll in a specific
location and it is not finding it, hence the "invalid export DLL"
message.

To switch your session to install mode, enter this at command prompt:

change user /install

When you are done installing an application, enter this at command prompt:

change user /execute

Thanks.

-TP
 
G

Guest

TP,

To expand on the situation I installed Simply 2005 while in Term Srvc's mode
by doing exactly what you had suggest. (Actually it is the only way that
simply will install, unlike other apps that start up the installer for you)

Once installed I tried to see if it would work as this is a virgin install
of 2k3 - put in term server mode - upgrade to sp1 - then install of Eudora -
then install of Simply. Configured Eudora as Primary mail client - attempted
to run report and gives me error. Configured outlook express as default mail
client - rebooted server - then tried report - gave same error message.

Switched server from term server to reg server (Without re-installing
anything) - after the reboot - logged back in and ran report with success -
switched default mail client from outlook express to eudora - rebooted - and
report worked as well from eudora.

Note: When I launch the report Outlook / Eudora would prompt me telling me
that a third party app was trying to email and wanted to know if I wanted to
allow it. Disabled all notification's from both programs so that it doesn't
prompt you to send mail. Converted back to term server and ran the report
with the same error as a result.

This server I am playing with now will be replacing my current terminal
server. Right now there are no users on it, meaning if you want me to try
ANYTHING i am able to.

Thanks for your quick response.

J.
 
T

TP

This is what I suspected, but I got confused when
you mentioned installing and then transforming into
terminal services. In general I try not to install apps
and then switch back and forth between the two ts
modes.

Does the report run properly if you are in install mode?
You can try real quick by doing a change user /install,
then running the program and the report, then switching
back.

Use filmon from www.sysinternals.com to see if Simply
is trying to access some Crystal dlls and failing because
they are not where it is looking for them.

Thanks.

-TP

Jeremy said:
TP,

To expand on the situation I installed Simply 2005 while in Term
Srvc's mode by doing exactly what you had suggest. (Actually it is
the only way that simply will install, unlike other apps that start
up the installer for you)

Once installed I tried to see if it would work as this is a virgin
install of 2k3 - put in term server mode - upgrade to sp1 - then
install of Eudora - then install of Simply. Configured Eudora as
Primary mail client - attempted to run report and gives me error.
Configured outlook express as default mail client - rebooted server -
then tried report - gave same error message.

Switched server from term server to reg server (Without re-installing
anything) - after the reboot - logged back in and ran report with
success - switched default mail client from outlook express to eudora
- rebooted - and report worked as well from eudora.

Note: When I launch the report Outlook / Eudora would prompt me
telling me that a third party app was trying to email and wanted to
know if I wanted to allow it. Disabled all notification's from both
programs so that it doesn't prompt you to send mail. Converted back
to term server and ran the report with the same error as a result.

This server I am playing with now will be replacing my current
terminal server. Right now there are no users on it, meaning if you
want me to try ANYTHING i am able to.

Thanks for your quick response.

J.
..
 
G

Guest

TP,

I ran filemon like you have suggested, and I can see loads of info and lots
of files that are not where they are supposed to be. Is there a way that I
can upload or share this with people that could fix it properly. Rather than
me filtering through what I think is relivant?

The items to which I think are relevant are some files:

crheapalloc.dll
crpe32_res_xx.dll
crpe32_res_ENU.dll
crep32_res_EN.dll

IRP_MJ_CREATE
supposed to be located in C:\Doc~1\Administrator\WINDOWS\crystal\

I can not locate the above files on the system. I am going to try and locate
them once I am not in TERM Serv. and put them in the corrosponding places. I
have yet another 2k3 server with simply 2k5 on it.

J.
 
T

TP

Crystal is looking for its dlls in %systemroot%\crystal, and the ts
is telling it that systemroot is actually %userprofile%\windows

There are several fixes for this, one approach is listed below:

Set the application compatibility flag for simply so that
it is given the real systemroot path instead of the user one.

Assuming the Simply Accounting exe file is called winsim.exe,
we would type the following at a command prompt (line will wrap):

reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\WINSIM" /v Flags /t REG_DWORD
/d 1032

I attached a .reg file which includes the above setting if you have
trouble typing the command.

Thanks.

-TP
 
G

Guest

TP - Your the bomb man.

Thanks for everything - I had to manually create registry key. For some
reason when I did a cut and paste it would not work.

You had said that you posted a reg file ? - How would I download such file ?

Just inquiring for future .. :)

J.
 
T

TP

The .reg file is attached to my post. How you download and save it
depends on your newsreader software. For example, in Outlook
Express it is File-->Save Attachments.

I am glad I could help you.

Thanks.

-TP
 
V

Vera Noest [MVP]

TP, it doesn't show up in my newsreader, and I have saved lots of
other attachments (in different newsgroups). I'm not sure if all
types of attachments are allowed in this newsgroup. You might want
to cut and paste the content of the regfile in your post.
 
T

TP

Thanks.

The attachment is definitely there (you can see it in the raw text),
but I think it isn't showing up for some newsreaders because I
had it set to uuencode stuff instead of mime for some reason.

I checked Google and it just showed the raw uuencoded
attachment instead of providing the attachment link like it
has done for others I have posted.

I am attaching it to this message--let's see if it shows up in
your reader.

Thanks again.

-TP
 
V

Vera Noest [MVP]

OK, that explains it. Yes, it shows up loud and clear now. Thanks,
TP!
Attachment saved: C:\Program\Xnews\attachments\untitled-2_22.txt
------=_NextPart_000_0027_01C5565A.C5FD62D0
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Terminal
Server\Compatibility\Applications\WINSIM] "Flags"=dword:00000408


------=_NextPart_000_0027_01C5565A.C5FD62D0--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top