BookmarkSubscribeRSS Feed
sugita
Calcite | Level 5

Hi everyone,

I have an excel file that i want to import using my sas enterprise guide 4.2 32 bit windows 7 enterprise and everytime i want to import it, i always get this error

SAS Enterprise Guide has encountered a problem.  We recommend that you save your work and restart SAS Enterprise Guide.

--------------------------------------------------------

System.Exception

An undefined DataTypeEnum value was encountered.

------------------------------ Technical Information Follows ------------------------------

System.Exception: An undefined DataTypeEnum value was encountered.

   at SAS.Tasks.ImportData.DefineFields.BeforeDisplay()

   at SAS.SharedUI.Wizard2.set_ActivePageIndex(Int32 value)

   at SAS.SharedUI.Wizard2.OnNext()

   at SAS.Tasks.ImportData.ImportDataView.OnNext()

   at SAS.SharedUI.Wizard2.m_NextBtn_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at SAS.SharedUI.Controls.OpenButton.OnMouseUp(MouseEventArgs mea)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at SAS.SharedUI.Controls.OpenButton.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

------------------------------ End of Technical Information ------------------------------

I think its because in my excel file - coloumn Z contain a very large number that is beyond sas int data type range.

I already tried to change the format of that column cell into text but no luck. can anyone help?


Pic2.jpgpic1.jpg
3 REPLIES 3
shivas
Pyrite | Level 9

Hi,

Check this SAS Note..

http://support.sas.com/kb/36/798.html

Thanks,

Shiva

sugita
Calcite | Level 5

i tried what that webpage suggest

but i get error like in the attached pictureUntitled.jpg

sugita
Calcite | Level 5

Hi,

Sorry, I turned off my UAC and restart and then the register went successful. But after i open Enterprise Guide, and tried to import the excel file again, i still get the same error message so we back to square 1 again.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2789 views
  • 0 likes
  • 2 in conversation