-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
5Questions
-
8Replies
Email to case
- MazA
- November 28, 2007
- Like
- 0
- Continue reading or reply
CS0117: 'site.sforce.Lead' does not contain a definition for 'Amount__c'
...
lead.Description = Description;
lead.Amount__c = Amount; // Only this fails. Works when I remove this line.
...
Maz.
- MazA
- August 08, 2006
- Like
- 0
- Continue reading or reply
Creating a new Appexchange app from scratch
I'm sort of new to salesforce but have a limited exprience with sforce API. I like to write a small app for our company and all the articles that I see talk about it either in general or they talk about how to deploy it in salesforce. I have the following question that would really appreciate it if someone out there answered.
I'm using Visual Studio 2005 and need to know how to start writing this App that's executable on Salesforce.
Do I just create a web app (aspx) and if it works assume it would work on the Appexchange network? Don't I have to follow certains rules for compatibility? Am I totally off the path here? If so please provide me with some information on how to start (prefereably asp.net) .
BTW, I've already created a complete Partner Portal that's running on our server (which was easy using Salesforce API).
Thank you
Maz
- MazA
- May 26, 2006
- Like
- 0
- Continue reading or reply
Creating a new Appexchange app from scratch
- MazA
- May 26, 2006
- Like
- 0
- Continue reading or reply
Creating an AppExchange App
- MazA
- May 26, 2006
- Like
- 0
- Continue reading or reply
CS0117: 'site.sforce.Lead' does not contain a definition for 'Amount__c'
...
lead.Description = Description;
lead.Amount__c = Amount; // Only this fails. Works when I remove this line.
...
Maz.
- MazA
- August 08, 2006
- Like
- 0
- Continue reading or reply
Retrieval error: "There is an error in XML document (1, 487)"
- mel709
- August 07, 2006
- Like
- 0
- Continue reading or reply
Querying for CreatedDate results in "There is an eror in XML Document" error
When I run the following query:
QueryResult qr = binding.query("Select CreatedDate from Case where CaseNumber = '00003511'");
The following exception is thrown:
Message: There is an error in XML document (1, 477).
Trace: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlRea
der, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, St
ring encodingStyle)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie
ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal
l)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
at SFIncidentCaseData.sforce.SforceService.query(String queryString) in <path to project>\Web References\sforce\Reference.cs:line 678
at SFIncidentCaseData.Program.GetIncidentCaseData(String strOrgName, String s
trStartCreatedDate, String strEndCreatedDate) in <path to source file>:line 62
Any help is appreciated!
Thanks,
Prashanth
- ejunkie2005
- May 24, 2006
- Like
- 0
- Continue reading or reply
System.Exception {System.FormatException}
m_queryArray = oSFDCQuery.ExecuteQuery("select Support_Code__c, Name, CreatedByID, CreatedDate, Amount__c, Asset_Typ__c from Asset_Activity_Log__C where AccountID__c = '00130000005CZLD' ", oLogin);
With the "CreatedDate" in the query receive the following error...
"String was not recognized as a valid DateTime." as my inner exception
The Full Stack trace is as follows....
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SFDCLibrary.Sforce.SforceService.query(String queryString)
at SFDCLibrary.SFDCQuery.ExecuteQuery(String strQuery, cLogin oLogin)
at LicenceDetails.GetActivityLog() in s:\Projects\2005\AssetManager\LicenceDetails.aspx.cs:line 102
Now when i do not have "CreatedDate" everything works fine. And the query worked fine up until this morning when i made the following change. Thru SFDC setup i adjusted my custom object. I had field i changed from numeric(7,0) to a text field. I downloaded a new WSDL and deployed it.
Any ideas or suggestions to what i might have done wrong?
- joe_leo
- April 12, 2006
- Like
- 0
- Continue reading or reply
retrieve - there is an error in XML document
This is happening on account, case, contact, lead, opportunity and task objects (others appear OK). Also the error sometimes "goes away", the following is a partial trace:
TaskgetRecordDetail(1): Error: There is an error in XML document (1259, 22).
TaskgetRecordDetail(2): Error: There is an error in XML document (528, 45).
TaskgetRecordDetail(3): Error: There is an error in XML document (13050, 21).
TaskgetRecordDetail(4): Error: There is an error in XML document (3048, 6).
TaskgetRecordDetail(5): Error: There is an error in XML document (11611, 6).
TaskgetRecordDetail(6): Error: There is an error in XML document (14958, 6).
TaskgetRecordDetail(1): Error: There is an error in XML document (1337, 6).
TaskgetRecordDetail(2): Error: There is an error in XML document (14857, 5).
TaskgetRecordDetail(3): Error: There is an error in XML document (9781, 6).
My routine retries up to 10 times, primarily to compensate for network errors. But here the retry gives the same error but at a different points in the xml, finally getting a sucessful response.
- Brian.ax17
- November 17, 2005
- Like
- 0
- Continue reading or reply