-
- Visual C#
by Eric Chow
- 7211 Replies
- Eric Chow Views
- Last post
-
- IE Development
by Xcel
- 2881 Replies
- Xcel Views
- Last post
-
incremental import
- Hi,
I seem to be at a loss on a Catalog Incremental Import. I have set this up through BizTalk which successfully grabs my XML file and returns a success file back, however the Items are not showing up in the Catalog.
I have also tried taking BizTalk out the picture and have run the Import process directly through the Commerce Server Catalog Manager app. Once again no errors and the Item does not show up in the Catalog. There are also no errors in the Event Viewer.
I have also queried the SQL tables and have not found the Item there as well.
Any guidance would greatly be appreciated.
Xcel.
-
- Windows Forms
by connect2sandeep
- 12743 Replies
- connect2sandeep Views
- Last post
-
- Visual Studio
by SnowJim
- 16716 Replies
- SnowJim Views
- Last post
-
exceptions and wcf
- Hey!
I have read the msdn documentation on handling faults in WSF but can’t get it to work.
I have the fallowing Interface fore the service:
[ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(IChatChangeHandler))]
public interface IChatChangePub
{
[OperationContract(IsOneWay = false, IsInitiating = true)]
bool subscribe(string inNickName);
[OperationContract(IsOneWay = false, IsInitiating = true)]
void unsubscribe();
[OperationContract]
[FaultContract(typeof(userListFault))]
List<string> getUserList(string inNickName);
[OperationContract(IsOneWay = true)]
void publishChatMessage(chatMessage inMessage);
}
As you can see i am using a costum faultExcetion(userListFault) that looks like this:
[DataContract]
public class userListFault
{
private string mOperation;
private string mProblemType;
public userListFault(string inOperation, string inProblemType)
{
mOperation = inOperation;
mProblemType = inProblemType;
}
[DataMember]
public string operation
{
get { return mOperation; }
set { mOperation = value; }
}
[DataMember]
public string problemType
{
get { return mProblemType; }
set { mProblemType = value; }
}
}
In my ServiceContract i throwing a fault like this:
public List<string> getUserList(string inNickName)
{
throw new FaultException<userListFault>(new userListFault("testOperation", "testProblemType"), new FaultReason("myReason"));
}
On the client i am using the fallowing code to catch:
private void InitializeConnection()
{
try
{
updateUserList(proxyChatChange.getUserList(txtNickName.Text));
}
catch (Exception ex)
{
MessageBox.Show("Error in InitializeConnection: " + ex.Message);
}
}
When debugging this i am getting a unhandle exception on the throw new FaultException<userListFault> What am I missing
-
- Game Technologies
by ManMuffin
- 6072 Replies
- ManMuffin Views
- Last post
-
xact and mp3
- Hey. We were hoping to use XAct as our audio format, and we're currently trying to find a way to get it to run mp3's.
I've done a good deal of research, but I can not seem to find any references to this.
Has anyone else tried this Is it possible
-
- SharePoint Products
by Vaassu
- 1888 Replies
- Vaassu Views
- Last post
-
permisison issue - helloworld example with remote client
- Hi,
My CSF 3.0 components are running Machine1. If i try my HellowWorld Application from Machine1, its working fine. But if I try with machine2, I am getting "AddRemoveParticipantFault" says that,
Participant(Name='UIParticipant', Url=soap.tcp://machine2:9200/UiFromService')Creation failed. I tried with some other machines also, but getting same error. Could any one help me out how set permission for CSF to access UIParticipant
Rgs
Vasu
-
- Audio and Video
by craigman
- 1166 Replies
- craigman Views
- Last post
-
elementary vc-1 for wme se
- Is there a release date in sight for elementary VC-1 support with the WMEncoder Studio Edition The resulting ASVs from the current release are great, but they don't work (because they're non-elementary streams) for authoring to media.
This makes it difficult for our C&A division to sync projects with our HDi group...
-
- Visual Basic
by mfroster
- 8556 Replies
- mfroster Views
- Last post
-
capture keys in textbox, vb.net 2005:
- I'm working on learning VB.Net, using 2005,
In VB 6, when you use a textbox:
Private Sub txtPv_KeyPress(Index As Integer, KeyAscii As Integer)
'If the ENTER is pressed, then call the function to set the PV.
If KeyAscii = 13 Then
Call cmdSetPv_Click(Index)
End If
End Sub
However, with VB.Net, when I select the "KeyPress" I get:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
End Sub
I can not figure out how to capture the keys that were pressed using the arguments to the TextBox1_KeyPress Sub.
All of the help that I can find tells me that the "KeyPress" is as:
Private Sub Text1_KeyPress(KeyAscii As Integer)
What am I missing
Mfroster
-
- Microsoft ISV
by pfunkmasterflex
- 1294 Replies
- pfunkmasterflex Views
- Last post
-
highlighting cells within a worksheet
- Several of us in our office have a fantasy golf league and we administrate it off-line using an excel spreadsheet (we haven't found a free website that lets us tailor the rules to the way we like it.)
Anyway, it is a salary cap format, meaning that only one golfer can be on one team at a time. To keep track of this, one of our worksheets has a list of all the golfers. That same worksheet also has every team's roster. For all golfers that are on someone's roster, I manually highlight that same name in the master list of golfers so it is easy to see who is taken and who is available.
What I would like to be able to do is have it automatically highlight that golfer's name in the master list when it appears in the individual team roster's page (and conversely un-highlight the name when the player is dropped). ; But I don't know what the VBA code should be.
Below is an example of how it looks:
you can see the master list on the left and the team rosters on the right. ; Any help would be greatly appreciated. ; Thanks!
-
- Visual FoxPro
by Markish
- 793 Replies
- Markish Views
- Last post
-
guidance required...
- Hi all,
; ; ; ; ; ; ; I have developed a VFP application in vers. 6.0. Now that the client wants the same with MS SQL / Oracle. Please someone tell me the list of atricles and other notes I have to go through..... I am ok with SQL querries....
Please suggest me regarding the -Remote views, SPT's......
The application as a whole has about 2 GB of data in VFP.....
it is a multi-user application....running on VFP 6.0 ./ WIn2000 Platform.
;Thanks in advance...
-Markish
-
- Smart Devicet
by Peppermint
- 7432 Replies
- Peppermint Views
- Last post
-
playing mp3s on pocketpcs
- Hi there,
can someone tell me if it is possible to play mp3 files on a pocket pc Is there a library except fmod to do this
Is it for example possible to use some methods from the media player to play mp3 files in my own application
Thanks for help
Karin
-
- .NET Development
by KAllbritain
- 13098 Replies
- KAllbritain Views
- Last post
-
parameter exception thrown on empty value
- vb.net/sql2005
2 questions for the masses:
I get the following exception thrown when executing this code for a new row that has no binary data for the @blob parameter:
"parameterized query blah, blah, expects parameter @blob which was not supplied"
The attached code works fine if the row has binary data for the @blob parameter.
The db column is varbinary(max) and accepts nulls.
(1) As the code shows, the @blob parameter is supplied, so why the exception
===============================================
'entry is a class representing the record 'Entries' in the sql2005 db
'which is passed into the function
Public Shared Function AddEntry(ByVal entry As Entries) As Boolean
Dim insertStatement As String
Dim connection As SqlConnection = GetConnection()
insertStatement = _
"INSERT Entries " _
& "(myText, myDate, keyWords, catalog, Path, pointerOnly, fileType, blob) " _
& "VALUES (@myText,@myDate,@keyWords, @catalog, @path, @pointerOnly, @filetype, @blob)"
Dim insertCommand As New SqlCommand(insertStatement, connection)
insertCommand.Parameters.AddWithValue("@myText", entry.MyText)
insertCommand.Parameters.AddWithValue("@myDate", entry.MyDate)
insertCommand.Parameters.AddWithValue("@keyWords", entry.KeyWords)
insertCommand.Parameters.AddWithValue("@catalog", entry.Catalog)
insertCommand.Parameters.AddWithValue("@path", entry.Path)
insertCommand.Parameters.AddWithValue("@pointerOnly", entry.PointerOnly)
insertCommand.Parameters.AddWithValue("@fileType", entry.FileType)
insertCommand.Parameters.AddWithValue("@blob", entry.Blob)
Try
connection.Open()
Dim Count As Integer = insertCommand.ExecuteNonQuery
If Count > 0 Then
Return True
Else
Return False
End If
Catch ex As SqlException
MsgBox(ex.Message, MsgBoxStyle.Critical, "SQL Error on Insert")
Return False
Finally
connection.Close()
End Try
End Function
============================================
I tried placing a single byte by default into those rows without blob data to get around this, but can not seem to do it.
I tried it before passing the class entry to the above insert function.
' stamp a default none null value as vb.net doesn't handle binary nulls well
' Dim aByte As Byte
' Dim myConstant As Int16 = 0
' aByte = CByte(myConstant)
' entry.Blob(0) = aByte
(2) So, as a related question, to avoid the parameter exception on empty blobs,
how can I accomplish placing a constant byte into the blob field
Thanks,
lost in vb.net/sql land
-
- Windows Vista
by AustinMyers
- 6718 Replies
- AustinMyers Views
- Last post
-
msvidctl.dd anyone tried using in vista
- I've been beating my head agaisnt the wall trying to use this control. My app works perfectly (build with VS 05) when ran on WinXP but won't work AT ALL on Vista. Any ideas
-
- Visual C++
by lawazia
- 5780 Replies
- lawazia Views
- Last post
-
about com dll ---thnx
- Hello sir
I was just reading about COM
wat I found is COM dlls are platform independent and can be used in any Operating System
So I wanted to know what does this mean
bcoz in linux we need to change dll to .so file and all that........
Could u plz help me to get some hand in this
interesting and compliated technology...
wud be thank ful
-
- VS Team System
by CaoxiCao
- 15574 Replies
- CaoxiCao Views
- Last post