Application crashing when talking to oracle unless executable path contains spaces

前端 未结 4 1738
名媛妹妹
名媛妹妹 2021-01-15 13:09

We have an x-files problem with our .NET application. Or, rather, hybrid Win32 and .NET application.

When it attempts to communicate with Oracle, it just dies. Vani

4条回答
  •  佛祖请我去吃肉
    2021-01-15 13:54

    You should get a medal for perseverance for that !.

    "Exactly what XPO does now I don't really know, but if I dropped this table, and recreated it with the right case, using double quotes around all the column names to get the case right, the problem doesn't crop up.

    Exactly where the space in the folder name comes into this, I still have no idea"

    The issues I get with spaces in names is that they generally interpret the bit before the space as the name and the rest as a parameter. If that is the case, then with the plain name it can see "C\Temp" and it is a directory. With the spaced name, it gets "C:\Program Files", looks for "C:\Program" and that doesn't exist. It would fail, for example, to overwrite "C:\Temp" but would succeed in writing "C:\Program". Wonder whether it would still fail with "C:\Program Files" if there is a file or directory called "C:\Program"

提交回复
热议问题