- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI am using the following ASP code to test a DLL I wrote in C#:
<%
Set fc = Server.CreateObject("Buyer
Dim useSQL
useSQL=""
fc.LetterID = "LDL"
fc.TemplatePath = "C:\\NEOTemplates\\LenderD
fc.SendMethod = "Create"
fc.LanguageID = 20
fc.LenderSpecialMessage = "default message"
fc.MonthValue = 2
fc.YearValue = 2004
Response.Write(fc.YearValu
fc.LetterEntryID = 70000
useSQL = "SELECT entryLenderView.loname as LO, "
useSQL = useSQL & "entryLenderView.workNumbe
useSQL = useSQL & "liv.PhoneInfo, "
useSQL = useSQL & "entryLenderView.company as LenderInfoName, "
useSQL = useSQL & "liv.AddressInfo, "
useSQL = useSQL & "liv.CityInfo, "
useSQL = useSQL & "liv.StateInfo, "
useSQL = useSQL & "liv.ZipInfo "
useSQL = useSQL & "FROM entryLenderView "
useSQL = useSQL & "INNER JOIN (select * from lenderInfoCompleteView) liv "
useSQL = useSQL & "ON entryLenderView.workNumber
useSQL = useSQL & "WHERE (entryLenderView.Status <> 'Cancelled') "
useSQL = useSQL & "AND entryLenderView.entryID = 70000"
useSQL = useSQL & " AND entryLenderView.loName <> '' "
useSQL = useSQL & "AND (datepart(mm,IsNull([Funde
useSQL = useSQL & "AND (datepart(yy,IsNull([Funde
useSQL = useSQL & "GROUP BY entryLenderView.loname, "
useSQL = useSQL & "entryLenderView.workNumbe
useSQL = useSQL & "liv.PhoneInfo, "
useSQL = useSQL & "entryLenderView.company, "
useSQL = useSQL & "liv.AddressInfo, "
useSQL = useSQL & "liv.CityInfo, "
useSQL = useSQL & "liv.StateInfo, "
useSQL = useSQL & "liv.ZipInfo "
useSQL = useSQL & "HAVING entryLenderView.workNumber
useSQL = useSQL & "ORDER BY liv.ZipInfo, "
useSQL = useSQL & "entryLenderView.loname"
fc.SQLStatement = useSQL
fc.GenerateRequest()
Response.Write("Done Testing BF Fax Communications Client")
Set COMObj = Nothing
%>
The problem is with this line:
fc.LetterEntryID = 70000
Which corresponds to the following SETTER / GETTER property in my C# code:
public long LetterEntryID
{
set
{
FAXCOM_ENTRYID = value;
}
get
{
return FAXCOM_ENTRYID;
}
}
I am getting the following error:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'LetterEntryID'
/TESTBFCOMMCLIENT.asp, line 13
How can it be a type mismatch??????????????????
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership